python.pkgs.cherrypy: 8.7.0 -> 11.0.0
This commit is contained in:
committed by
Frederik Rietdijk
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user