pythonPackages.nose2: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-17 01:08:03 -04:00
committed by Frederik Rietdijk
parent 9492a17e87
commit 1059d71947
2 changed files with 27 additions and 13 deletions

View File

@@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "nose2";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0595rh6b6dncbj0jigsyrgrh6h8fsl6w1fr69h76mxv9nllv0rlr";
};
propagatedBuildInputs = [ six ];
# AttributeError: 'module' object has no attribute 'collector'
doCheck = false;
meta = with stdenv.lib; {
description = "nose2 is the next generation of nicer testing for Python";
homepage = https://github.com/nose-devs/nose2;
license = licenses.bsd0;
};
}