diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c6e9f5b7fa5..7c02e5c1f99 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3392,17 +3392,14 @@ pythonPackages = modules // import ./python-packages-generated.nix { }); nose = buildPythonPackage rec { - name = "nose-1.3.0"; + version = "1.3.0"; + name = "nose-${version}"; src = fetchurl { url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz"; sha256 = "0q2j9zz39h3liwbp6lb94kl3sxb9z9rbwh5dzyccyxfy4lrwqqsf"; }; - meta = { - description = "A unittest-based testing framework for python that makes writing and running tests easier"; - }; - buildInputs = [ coverage ]; doCheck = ! stdenv.isDarwin; @@ -3411,6 +3408,10 @@ pythonPackages = modules // import ./python-packages-generated.nix { '' else "" + '' ${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 {