pythonPackages.wsgiproxy2: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:44:15 -04:00
parent 86c06938cb
commit f6aedb3d67
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 31 additions and 16 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
, webob
}:
buildPythonPackage rec {
pname = "WSGIProxy2";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4";
};
propagatedBuildInputs = [ six webob ];
# circular dep on webtest
doCheck = false;
meta = with stdenv.lib; {
homepage = http://pythonpaste.org/wsgiproxy/;
description = "HTTP proxying tools for WSGI apps";
license = licenses.mit;
maintainers = with maintainers; [ garbas domenkozar ];
};
}

View File

@ -4133,22 +4133,7 @@ in {
magic-wormhole-transit-relay = callPackage ../development/python-modules/magic-wormhole-transit-relay { };
wsgiproxy2 = buildPythonPackage rec {
name = "WSGIProxy2-0.4.2";
src = pkgs.fetchurl {
url = "mirror://pypi/W/WSGIProxy2/${name}.zip";
sha256 = "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4";
};
# circular dep on webtest
doCheck = false;
propagatedBuildInputs = with self; [ six webob ];
meta = {
maintainers = with maintainers; [ garbas domenkozar ];
};
};
wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };
wxPython = self.wxPython30;