diff options
author | Ding Xiang Fei <dingxiangfei2009@gmail.com> | 2018-07-30 15:47:44 +0800 |
---|---|---|
committer | Ding Xiang Fei <dingxiangfei2009@gmail.com> | 2018-07-30 15:47:44 +0800 |
commit | bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc (patch) | |
tree | 82de2597b8d899b99b41811a8b2c8abf61585354 | |
parent | c0ca3e36d61f53c80ae5683ecc139689720cb3ac (diff) | |
parent | 408bd2b80ed198004311c9bb638e776dafffa908 (diff) | |
download | nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.tar nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.tar.gz nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.tar.bz2 nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.tar.lz nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.tar.xz nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.tar.zst nixlib-bb2dda2b37494cc7a9be25e8c5df82c7bf7714bc.zip |
Merge branch 'master' into cross-compiling-postgresql
-rw-r--r-- | pkgs/development/python-modules/cheroot/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/cheroot/default.nix b/pkgs/development/python-modules/cheroot/default.nix index d7e6abf3eb6c..6edad2d01619 100644 --- a/pkgs/development/python-modules/cheroot/default.nix +++ b/pkgs/development/python-modules/cheroot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchPypi, buildPythonPackage +{ stdenv, fetchPypi, buildPythonPackage, fetchpatch , more-itertools, six , pytest, pytestcov, portend , backports_unittest-mock @@ -13,9 +13,15 @@ buildPythonPackage rec { sha256 = "8e3ac15e1efffc81425a693e99b3c09d7ea4bf947255d8d4c38e2cf76f3a4d25"; }; - propagatedBuildInputs = [ more-itertools six ]; + patches = fetchpatch { + name = "cheroot-fix-setup-python3.patch"; + url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/cheroot-fix-setup-python3.patch?h=packages/python-cheroot"; + sha256 = "1rlgz0qln536y00mfqlf0i9hz3f53id73wh47cg5q2vcsw1w2bpc"; + }; + + propagatedBuildInputs = [ more-itertools six backports_functools_lru_cache ]; - checkInputs = [ pytest pytestcov portend backports_unittest-mock backports_functools_lru_cache ]; + checkInputs = [ pytest pytestcov portend backports_unittest-mock ]; # Disable testmon, it needs pytest-testmon, which we do not currently have in nikpkgs, # and is only used to skip some tests that are already known to work. |