Merge pull request #136458 from mweinelt/21.05/fix-httplib2
This commit is contained in:
commit
b642e782d8
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, isPy27
|
, isPy27
|
||||||
, mock
|
, mock
|
||||||
, pyparsing
|
, pyparsing
|
||||||
@ -24,6 +25,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-e0Mq9AVJEWQ9GEtYFXk2fMIs7GtAUsyJN6XheqAnD3I=";
|
sha256 = "sha256-e0Mq9AVJEWQ9GEtYFXk2fMIs7GtAUsyJN6XheqAnD3I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix test_inject_space
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/httplib2/httplib2/commit/08d6993b69256fbc6c0b1c615c24910803c4d610.patch";
|
||||||
|
sha256 = "0kbd1skn58m20kfkh4qzd66g9bvj31xlkbhsg435dkk4qz6l3yn3";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "/--cov/d" setup.cfg
|
sed -i "/--cov/d" setup.cfg
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user