mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
python3Packages.httplib2: fix tests
This commit is contained in:
parent
07571e7ae5
commit
f019d3adb2
@ -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 New Issue
Block a user