3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.paver: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 10:30:06 -04:00 committed by Frederik Rietdijk
parent 592e8a2ef1
commit be4f6cf711
2 changed files with 34 additions and 23 deletions

View file

@ -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;
};
}

View file

@ -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 { };