python3Packages.httplib2: fix tests
This commit is contained in:
parent
07571e7ae5
commit
f019d3adb2
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue