forked from mirrors/nixpkgs
pythonPackages.paver: refactor move to python-modules
This commit is contained in:
parent
592e8a2ef1
commit
be4f6cf711
33
pkgs/development/python-modules/paver/default.nix
Normal file
33
pkgs/development/python-modules/paver/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue