python312Packages.propka: fix build with python3.12

This commit is contained in:
natsukium
2023-12-20 20:46:39 +01:00
committed by Martin Weinelt
parent 9c729e475e
commit 3ad2280a04
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pythonOlder
, setuptools
, pytestCheckHook
@@ -20,6 +21,15 @@ buildPythonPackage rec {
hash = "sha256-NbvrlapBALGbUyBqdqDcDG/igDf/xqxC35DzVUrbHlo=";
};
patches = [
# https://github.com/jensengroup/propka/pull/171
(fetchpatch {
name = "python312-compatibility.patch";
url = "https://github.com/jensengroup/propka/commit/1c8885d4003e5fd8a2921909268001b197066beb.patch";
hash = "sha256-fB2WKVHoIgqDA/EYt7369HrIDCEJ1rmKP2tmxAdhCRs=";
})
];
propagatedBuildInputs = [
setuptools
];