Created
February 15, 2019 12:42
-
-
Save johanot/f40e844d5754619933d1c50e743bd9c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/pkgs/development/python-modules/cherrypy/default.nix | |
+++ b/pkgs/development/python-modules/cherrypy/default.nix | |
@@ -1,8 +1,7 @@ | |
{ lib, buildPythonPackage, fetchPypi | |
, cheroot, contextlib2, portend, routes, six | |
, setuptools_scm, zc_lockfile | |
-, backports_unittest-mock, objgraph, pathpy, pytest, pytestcov | |
-, backports_functools_lru_cache, requests_toolbelt | |
+, pythonPackages | |
}: | |
buildPythonPackage rec { | |
@@ -18,7 +17,7 @@ buildPythonPackage rec { | |
buildInputs = [ setuptools_scm ]; | |
- checkInputs = [ backports_unittest-mock objgraph pathpy pytest pytestcov backports_functools_lru_cache requests_toolbelt ]; | |
+ checkInputs = with pythonPackages; [ backports_unittest-mock objgraph pathpy pytest pytestcov backports_functools_lru_cache requests_toolbelt ]; | |
checkPhase = '' | |
LANG=en_US.UTF-8 pytest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment