pythonPackages.sievelib: fix build by adding patch

this fixes installation with newer pip versions

also give a name to an existing patch
This commit is contained in:
Robert Scott 2020-09-15 00:10:05 +01:00 committed by Jon
parent 5f4b880b40
commit 4d111fdf39

View File

@ -12,9 +12,15 @@ buildPythonPackage rec {
patches = [
(fetchpatch {
name = "pip-10-pip-req.patch";
url = "https://github.com/tonioo/sievelib/commit/1deef0e2bf039a0e817ea6f19aaf1947dc9fafbc.patch";
sha256 = "0vaj73mcij9dism8vfaai82irh8j1b2n8gf9jl1a19d2l26jrflk";
})
(fetchpatch {
name = "requirements-in-setup-py.patch";
url = "https://github.com/tonioo/sievelib/commit/91f40ec226ea288e98379da01672a46dabd89fc9.patch";
sha256 = "0hph89xn16r353rg6f05bh0cgigmwdc736bya089qc03jhssrgns";
})
];
buildInputs = [ setuptools_scm ];