pythonPackages.PasteDeploy: refactor move to python-modules
This commit is contained in:
parent
13f85532e7
commit
04accec770
24
pkgs/development/python-modules/pastedeploy/default.nix
Normal file
24
pkgs/development/python-modules/pastedeploy/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "1.5.2";
|
||||||
|
pname = "PasteDeploy";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "d5858f89a255e6294e63ed46b73613c56e3b9a2d82a42f1df4d06c8421a9e3cb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Load, configure, and compose WSGI applications and servers";
|
||||||
|
homepage = http://pythonpaste.org/deploy/;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3103,23 +3103,7 @@ in {
|
|||||||
|
|
||||||
paste = callPackage ../development/python-modules/paste { };
|
paste = callPackage ../development/python-modules/paste { };
|
||||||
|
|
||||||
PasteDeploy = buildPythonPackage rec {
|
PasteDeploy = callPackage ../development/python-modules/pastedeploy { };
|
||||||
version = "1.5.2";
|
|
||||||
name = "paste-deploy-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/P/PasteDeploy/PasteDeploy-${version}.tar.gz";
|
|
||||||
sha256 = "d5858f89a255e6294e63ed46b73613c56e3b9a2d82a42f1df4d06c8421a9e3cb";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Load, configure, and compose WSGI applications and servers";
|
|
||||||
homepage = http://pythonpaste.org/deploy/;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pasteScript = buildPythonPackage rec {
|
pasteScript = buildPythonPackage rec {
|
||||||
version = "1.7.5";
|
version = "1.7.5";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user