python.pkgs.cherrypy: disable on python2

This commit is contained in:
Robert Schütz 2018-12-19 17:10:07 +01:00
parent b7355e6f7a
commit c5ef5c9137

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchPypi, isPy3k
, cheroot, contextlib2, portend, routes, six , cheroot, contextlib2, portend, routes, six
, setuptools_scm, zc_lockfile , setuptools_scm, zc_lockfile
, backports_unittest-mock, objgraph, pathpy, pytest, pytestcov , backports_unittest-mock, objgraph, pathpy, pytest, pytestcov
@ -9,6 +9,8 @@ buildPythonPackage rec {
pname = "CherryPy"; pname = "CherryPy";
version = "18.0.1"; version = "18.0.1";
disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520"; sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";