pythonPackges.webob: refactor move to python-modules
This commit is contained in:
parent
e273fa73ed
commit
0e1a1d0bd9
25
pkgs/development/python-modules/webob/default.nix
Normal file
25
pkgs/development/python-modules/webob/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "WebOb";
|
||||||
|
version = "1.7.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "10vjp2rvqiyvw157fk3sy7yds1gknzw97z4gk0qv1raskx5s2p76";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ nose pytest ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "WSGI request and response object";
|
||||||
|
homepage = http://pythonpaste.org/webob/;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4115,25 +4115,7 @@ in {
|
|||||||
|
|
||||||
web = callPackage ../development/python-modules/web { };
|
web = callPackage ../development/python-modules/web { };
|
||||||
|
|
||||||
webob = buildPythonPackage rec {
|
webob = callPackage ../development/python-modules/webob { };
|
||||||
pname = "WebOb";
|
|
||||||
version = "1.7.3";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "10vjp2rvqiyvw157fk3sy7yds1gknzw97z4gk0qv1raskx5s2p76";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ nose pytest ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "WSGI request and response object";
|
|
||||||
homepage = http://pythonpaste.org/webob/;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
websockify = buildPythonPackage rec {
|
websockify = buildPythonPackage rec {
|
||||||
version = "0.7.0";
|
version = "0.7.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user