python-nose: trivial change to rebuild

This commit is contained in:
Domen Kožar 2013-09-22 10:35:50 +02:00
parent e0fc8d9f7e
commit bbbfe7a783

View File

@ -3392,17 +3392,14 @@ pythonPackages = modules // import ./python-packages-generated.nix {
}); });
nose = buildPythonPackage rec { nose = buildPythonPackage rec {
name = "nose-1.3.0"; version = "1.3.0";
name = "nose-${version}";
src = fetchurl { src = fetchurl {
url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz"; url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz";
sha256 = "0q2j9zz39h3liwbp6lb94kl3sxb9z9rbwh5dzyccyxfy4lrwqqsf"; sha256 = "0q2j9zz39h3liwbp6lb94kl3sxb9z9rbwh5dzyccyxfy4lrwqqsf";
}; };
meta = {
description = "A unittest-based testing framework for python that makes writing and running tests easier";
};
buildInputs = [ coverage ]; buildInputs = [ coverage ];
doCheck = ! stdenv.isDarwin; doCheck = ! stdenv.isDarwin;
@ -3411,6 +3408,10 @@ pythonPackages = modules // import ./python-packages-generated.nix {
'' else "" + '' '' else "" + ''
${python}/bin/${python.executable} selftest.py ${python}/bin/${python.executable} selftest.py
''; '';
meta = {
description = "A unittest-based testing framework for python that makes writing and running tests easier";
};
}; };
nose2 = if isPy26 then null else (buildPythonPackage rec { nose2 = if isPy26 then null else (buildPythonPackage rec {