Merge pull request #84268 from bhipple/u/nose2
python3Packages.nose2: 0.9.1 -> 0.9.2 and fix build for ZHF
This commit is contained in:
commit
5bca1a7664
1 changed files with 6 additions and 5 deletions
|
@ -3,21 +3,22 @@
|
|||
, fetchPypi
|
||||
, six
|
||||
, pythonOlder
|
||||
, mock
|
||||
, coverage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nose2";
|
||||
version = "0.9.1";
|
||||
version = "0.9.2";
|
||||
|
||||
# Requires mock 2.0.0 if python < 3.6, but NixPkgs has mock 3.0.5.
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16drs4bc2wvgwwi1pf6pmk6c00pl16vs1v7djc4a8kwpsxpibphf";
|
||||
sha256 = "0pmbb6nk31yhgh4zkcblzxsznml7f7pf5q1ihgrwvbxv4mwzfql7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six coverage ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.4") [ mock ];
|
||||
propagatedBuildInputs = [ six coverage ];
|
||||
|
||||
# AttributeError: 'module' object has no attribute 'collector'
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue