Merge pull request #111406 from r-ryantm/auto-update/python3.7-nose2
python37Packages.nose2: 0.9.2 -> 0.10.0
This commit is contained in:
commit
238c481398
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, python
|
||||||
, six
|
, six
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, coverage
|
, coverage
|
||||||
|
@ -8,20 +9,21 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nose2";
|
pname = "nose2";
|
||||||
version = "0.9.2";
|
version = "0.10.0";
|
||||||
|
|
||||||
# Requires mock 2.0.0 if python < 3.6, but NixPkgs has mock 3.0.5.
|
# Requires mock 2.0.0 if python < 3.6, but NixPkgs has mock 3.0.5.
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0pmbb6nk31yhgh4zkcblzxsznml7f7pf5q1ihgrwvbxv4mwzfql7";
|
sha256 = "886ba617a96de0130c54b24479bd5c2d74d5c940d40f3809c3a275511a0c4a60";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six coverage ];
|
propagatedBuildInputs = [ six coverage ];
|
||||||
|
|
||||||
# AttributeError: 'module' object has no attribute 'collector'
|
checkPhase = ''
|
||||||
doCheck = false;
|
${python.interpreter} -m unittest
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "nose2 is the next generation of nicer testing for Python";
|
description = "nose2 is the next generation of nicer testing for Python";
|
||||||
|
|
Loading…
Reference in New Issue