python310Packages.jaraco-email: patch to work with jaraco.collections 4+

This commit is contained in:
Theodore Ni 2023-06-30 23:52:11 -07:00
parent bdc8499026
commit 1dfe353808
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -3,6 +3,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, fetchpatch
, setuptools
, setuptools-scm
, jaraco_text
@ -26,6 +27,19 @@ buildPythonPackage rec {
hash = "sha256-MR/SX5jmZvEMULgvQbh0JBZjIosNCPWl1wvEoJbdw4Y=";
};
patches = [
(fetchpatch {
name = "dos2unix-line-endings.patch";
url = "https://github.com/jaraco/jaraco.email/commit/ab9643598e26cca9c9cdbd34b00c972f547b9236.patch";
hash = "sha256-Z2WOnR+ELzQciVyUiUq4jaP+Vnc4aseLP7+LWJZoOU8=";
})
(fetchpatch {
name = "jaraco-collections-4-compatibility.patch";
url = "https://github.com/jaraco/jaraco.email/commit/e65e5fed0178ddcd009d16883b381c5582f1a9df.patch";
hash = "sha256-mKxa0ZU1JFeQPemrjQl94buLNY5gXnMCCRKBxdO870M=";
})
];
nativeBuildInputs = [
setuptools
setuptools-scm