diff options
author | Robert Scott <code@humanleg.org.uk> | 2019-06-01 15:12:35 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2019-06-01 15:12:35 +0100 |
commit | 7eea576d7e9e791bc632dd210d52e1a18bebbb3f (patch) | |
tree | 8ab084305acf83e8cec41cd3488312f9e516d1e5 /pkgs/development/python-modules/klein | |
parent | 669e534b5a12e92426b368a93eb7a889c013041d (diff) |
pythonPackages.klein: fix build/tests
Diffstat (limited to 'pkgs/development/python-modules/klein')
-rw-r--r-- | pkgs/development/python-modules/klein/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/klein/default.nix b/pkgs/development/python-modules/klein/default.nix index 3dfbb4e17db28..9b96ae038ca59 100644 --- a/pkgs/development/python-modules/klein/default.nix +++ b/pkgs/development/python-modules/klein/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi +{ lib, buildPythonPackage, fetchPypi, fetchpatch , six, twisted, werkzeug, incremental , mock }: @@ -11,9 +11,17 @@ buildPythonPackage rec { sha256 = "30aaf0d78a987d5dbfe0968a07367ad0c73e02823cc8eef4c54f80ab848370d0"; }; + patches = [ + (fetchpatch { + name = "tests-expect-werkzeug-308.patch"; + url = https://github.com/twisted/klein/commit/e2a5835b83e37a2bc5faefbfe1890c529b18b9c6.patch; + sha256 = "03j0bj3l3hnf7f96rb27i4bzy1iih79ll5bcah7gybdi1wpznh8w"; + }) + ]; + propagatedBuildInputs = [ six twisted werkzeug incremental ]; - checkInputs = [ mock ]; + checkInputs = [ mock twisted ]; checkPhase = '' trial klein |