python3Packages.pendulum: fix on 32 bit platforms

This commit is contained in:
Guillaume Girol
2024-11-10 12:00:00 +00:00
parent 4aa36568d4
commit a74f2b4f3b
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pythonOlder,
isPyPy,
@@ -54,6 +55,15 @@ buildPythonPackage rec {
'';
};
patches = [
# fix build on 32bit
# https://github.com/sdispater/pendulum/pull/842
(fetchpatch {
url = "https://github.com/sdispater/pendulum/commit/6f2fcb8b025146ae768a5889be4a437fbd3156d6.patch";
hash = "sha256-47591JvpADxGQT2q7EYWHfStaiWyP7dt8DPTq0tiRvk=";
})
];
nativeBuildInputs = [
poetry-core
rustPlatform.maturinBuildHook