pythonPackages.PasteDeploy: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-25 21:01:13 -04:00 committed by Frederik Rietdijk
parent 13f85532e7
commit 04accec770
2 changed files with 25 additions and 17 deletions

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

View File

@ -3103,23 +3103,7 @@ in {
paste = callPackage ../development/python-modules/paste { };
PasteDeploy = buildPythonPackage rec {
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;
};
};
PasteDeploy = callPackage ../development/python-modules/pastedeploy { };
pasteScript = buildPythonPackage rec {
version = "1.7.5";