mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
python.pkgs.cherrypy: disable on python2
This commit is contained in:
parent
b7355e6f7a
commit
c5ef5c9137
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user