Merge pull request #143809 from trofi/fix-httplib2

This commit is contained in:
Sandro 2021-10-31 21:55:54 +01:00 committed by GitHub
commit e56044f609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, isPy27
, mock
, pyparsing
@ -25,14 +24,6 @@ buildPythonPackage rec {
sha256 = "sha256-1zqs3YRVtm5DwewETLtRg5XhMJPJsMi0QLfeGirOURs=";
};
patches = [
# fix test_inject_space
(fetchpatch {
url = "https://github.com/httplib2/httplib2/commit/08d6993b69256fbc6c0b1c615c24910803c4d610.patch";
sha256 = "0kbd1skn58m20kfkh4qzd66g9bvj31xlkbhsg435dkk4qz6l3yn3";
})
];
postPatch = ''
sed -i "/--cov/d" setup.cfg
'';