python312Packages.propka: fix build with python3.12
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user