diff --git a/pkgs/development/python-modules/paver/default.nix b/pkgs/development/python-modules/paver/default.nix new file mode 100644 index 000000000000..acdb68c0281d --- /dev/null +++ b/pkgs/development/python-modules/paver/default.nix @@ -0,0 +1,33 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, nose +, cogapp +, mock +, virtualenv +}: + +buildPythonPackage rec { + version = "1.2.2"; + pname = "Paver"; + + src = fetchPypi { + inherit pname version; + sha256 = "0lix9d33ndb3yk56sm1zlj80fbmxp0w60yk0d9pr2xqxiwi88sqy"; + }; + + buildInputs = [ cogapp mock virtualenv ]; + + propagatedBuildInputs = [ nose ]; + + # the tests do not pass + doCheck = false; + + meta = with stdenv.lib; { + description = "A Python-based build/distribution/deployment scripting tool"; + homepage = https://github.com/paver/paver; + maintainers = with maintainers; [ lovek323 ]; + platforms = platforms.unix; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 099797867f53..9c17bb27b319 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2017,29 +2017,7 @@ in { pathtools = callPackage ../development/python-modules/pathtools { }; - paver = buildPythonPackage rec { - version = "1.2.2"; - name = "Paver-${version}"; - - src = pkgs.fetchurl { - url = "mirror://pypi/P/Paver/Paver-${version}.tar.gz"; - sha256 = "0lix9d33ndb3yk56sm1zlj80fbmxp0w60yk0d9pr2xqxiwi88sqy"; - }; - - buildInputs = with self; [ cogapp mock virtualenv ]; - - propagatedBuildInputs = with self; [ nose ]; - - # the tests do not pass - doCheck = false; - - meta = { - description = "A Python-based build/distribution/deployment scripting tool"; - homepage = https://github.com/paver/paver; - maintainers = with maintainers; [ lovek323 ]; - platforms = platforms.unix; - }; - }; + paver = callPackage ../development/python-modules/paver { }; passlib = callPackage ../development/python-modules/passlib { };