pythonPAckages.WSGIProxy: refactor move to python-modules
This commit is contained in:
parent
e53a0479b5
commit
10797302fb
27
pkgs/development/python-modules/wsgiproxy/default.nix
Normal file
27
pkgs/development/python-modules/wsgiproxy/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, paste
|
||||||
|
, six
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "WSGIProxy";
|
||||||
|
version = "0.2.2";
|
||||||
|
disabled = isPy3k; # Judging from SyntaxError
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0wqz1q8cvb81a37gb4kkxxpv4w7k8192a08qzyz67rn68ln2wcig";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ paste six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "WSGIProxy gives tools to proxy arbitrary(ish) WSGI requests to other";
|
||||||
|
homepage = "http://pythonpaste.org/wsgiproxy/";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4363,26 +4363,7 @@ in {
|
|||||||
|
|
||||||
svg2tikz = callPackage ../development/python-modules/svg2tikz { };
|
svg2tikz = callPackage ../development/python-modules/svg2tikz { };
|
||||||
|
|
||||||
WSGIProxy = buildPythonPackage rec {
|
WSGIProxy = callPackage ../development/python-modules/wsgiproxy { };
|
||||||
name = "WSGIProxy-${version}";
|
|
||||||
version = "0.2.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/W/WSGIProxy/WSGIProxy-${version}.tar.gz";
|
|
||||||
sha256 = "0wqz1q8cvb81a37gb4kkxxpv4w7k8192a08qzyz67rn68ln2wcig";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
paste six
|
|
||||||
];
|
|
||||||
|
|
||||||
disabled = isPy3k; # Judging from SyntaxError
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "WSGIProxy gives tools to proxy arbitrary(ish) WSGI requests to other";
|
|
||||||
homepage = "http://pythonpaste.org/wsgiproxy/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
blist = buildPythonPackage rec {
|
blist = buildPythonPackage rec {
|
||||||
name = "blist-${version}";
|
name = "blist-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user