diff options
| author | Robert Schütz <dev@schuetz-co.de> | 2021-07-01 08:07:05 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-09-02 13:02:12 +0200 |
| commit | 32d97638ed7c57b5e4b903705975dc4d5582e62f (patch) | |
| tree | 382b2a108841a8a23b3e38465370bddaeb79d78e | |
| parent | Merge branch 'staging-next-21.05' into release-21.05 (diff) | |
| download | nixpkgs-32d97638ed7c57b5e4b903705975dc4d5582e62f.tar.gz | |
python3Packages.httplib2: fix tests
(cherry picked from commit f019d3adb27c2754f1c122ea945aa51ea4347819)
| -rw-r--r-- | pkgs/development/python-modules/httplib2/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httplib2/default.nix b/pkgs/development/python-modules/httplib2/default.nix index 40bfe4d3e884..756d3e4ddcc4 100644 --- a/pkgs/development/python-modules/httplib2/default.nix +++ b/pkgs/development/python-modules/httplib2/default.nix @@ -2,6 +2,7 @@ , stdenv , buildPythonPackage , fetchFromGitHub +, fetchpatch , isPy27 , mock , pyparsing @@ -24,6 +25,14 @@ buildPythonPackage rec { sha256 = "sha256-e0Mq9AVJEWQ9GEtYFXk2fMIs7GtAUsyJN6XheqAnD3I="; }; + patches = [ + # fix test_inject_space + (fetchpatch { + url = "https://github.com/httplib2/httplib2/commit/08d6993b69256fbc6c0b1c615c24910803c4d610.patch"; + sha256 = "0kbd1skn58m20kfkh4qzd66g9bvj31xlkbhsg435dkk4qz6l3yn3"; + }) + ]; + postPatch = '' sed -i "/--cov/d" setup.cfg ''; |
