cherrypy: re-enable python2 support

we need cherrypy for ceph -> sambaFull
This commit is contained in:
Jörg Thalheim 2019-01-02 19:31:14 +01:00
parent eea4ff895d
commit 31a77f4331
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -5,15 +5,21 @@
, backports_functools_lru_cache, requests_toolbelt
}:
buildPythonPackage rec {
let
srcInfo = if isPy3k then {
version = "18.0.1";
sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";
} else {
version = "17.4.1";
sha256 = "1kl17anzz535jgkn9qcy0c2m0zlafph0iv7ph3bb9mfrs2bgvagv";
};
in buildPythonPackage rec {
pname = "CherryPy";
version = "18.0.1";
disabled = !isPy3k;
inherit (srcInfo) version;
src = fetchPypi {
inherit pname version;
sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";
inherit pname;
inherit (srcInfo) version sha256;
};
propagatedBuildInputs = [ cheroot contextlib2 portend routes six zc_lockfile ];