python3Packages.pendulum: fix on 32 bit platforms (#354983)

This commit is contained in:
Theodore Ni
2024-11-11 10:39:37 -08:00
committed by GitHub
@@ -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