pythonPackges.webob: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:36:26 -04:00
parent e273fa73ed
commit 0e1a1d0bd9
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 19 deletions

@ -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 { };
webob = buildPythonPackage rec {
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;
};
};
webob = callPackage ../development/python-modules/webob { };
websockify = buildPythonPackage rec {
version = "0.7.0";