python.pkgs.cherrypy: 8.7.0 -> 11.0.0
This commit is contained in:
parent
be7d6c4cfd
commit
ec33fe6181
25
pkgs/development/python-modules/cherrypy/default.nix
Normal file
25
pkgs/development/python-modules/cherrypy/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||||
|
, pytest, setuptools_scm, pytestrunner
|
||||||
|
, six, cheroot, portend }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "CherryPy";
|
||||||
|
version = "11.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1037pvhab4my791vfzikm649ny52fj7x2q87cnncmbnqin6ghwan";
|
||||||
|
};
|
||||||
|
|
||||||
|
# wsgiserver.ssl_pyopenssl is broken on py3k.
|
||||||
|
doCheck = !isPy3k;
|
||||||
|
buildInputs = [ pytest setuptools_scm pytestrunner ];
|
||||||
|
propagatedBuildInputs = [ six cheroot portend ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "http://www.cherrypy.org";
|
||||||
|
description = "A pythonic, object-oriented HTTP framework";
|
||||||
|
license = licenses.mit.bsd3;
|
||||||
|
};
|
||||||
|
}
|
@ -2774,27 +2774,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cherrypy = callPackage ../development/python-modules/cherrypy {};
|
||||||
cherrypy = buildPythonPackage (rec {
|
|
||||||
name = "cherrypy-${version}";
|
|
||||||
version = "8.7.0";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/C/CherryPy/CherryPy-${version}.tar.gz";
|
|
||||||
sha256 = "cbf418bf46458a67eb841944f2d414c23bf59d090baf2a28704bd67243e6a79f";
|
|
||||||
};
|
|
||||||
|
|
||||||
# wsgiserver.ssl_pyopenssl is broken on py3k.
|
|
||||||
doCheck = !isPy3k;
|
|
||||||
buildInputs = with self; [ pytest setuptools_scm pytestrunner ];
|
|
||||||
propagatedBuildInputs = with self; [ six ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://www.cherrypy.org";
|
|
||||||
description = "A pythonic, object-oriented HTTP framework";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
cjson = buildPythonPackage rec {
|
cjson = buildPythonPackage rec {
|
||||||
name = "python-cjson-${version}";
|
name = "python-cjson-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user