pythonPackages.wsgiproxy2: refactor move to python-modules
This commit is contained in:
parent
86c06938cb
commit
f6aedb3d67
30
pkgs/development/python-modules/wsgiproxy2/default.nix
Normal file
30
pkgs/development/python-modules/wsgiproxy2/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user