From c5ef5c9137deeded568fd8ca1bf6754a59abc437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 19 Dec 2018 17:10:07 +0100 Subject: [PATCH] python.pkgs.cherrypy: disable on python2 --- pkgs/development/python-modules/cherrypy/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/cherrypy/default.nix b/pkgs/development/python-modules/cherrypy/default.nix index 8e35c7c2d370..cbb8774f55fe 100644 --- a/pkgs/development/python-modules/cherrypy/default.nix +++ b/pkgs/development/python-modules/cherrypy/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi +{ lib, buildPythonPackage, fetchPypi, isPy3k , cheroot, contextlib2, portend, routes, six , setuptools_scm, zc_lockfile , backports_unittest-mock, objgraph, pathpy, pytest, pytestcov @@ -9,6 +9,8 @@ buildPythonPackage rec { pname = "CherryPy"; version = "18.0.1"; + disabled = !isPy3k; + src = fetchPypi { inherit pname version; sha256 = "3002fc47b982c3df4d08dbe5996b093fd73f85b650ab8df19e8b9b95f5c00520";