python.pkgs.cherrypy: 8.7.0 -> 11.0.0

This commit is contained in:
Jörg Thalheim
2017-08-27 15:31:39 +01:00
committed by Frederik Rietdijk
parent be7d6c4cfd
commit ec33fe6181
2 changed files with 26 additions and 21 deletions

View 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;
};
}