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

authored by Theodore Ni and committed by GitHub 29fa4665 ea085c1a

+10
+10
pkgs/development/python-modules/pendulum/default.nix
··· 3 3 stdenv, 4 4 buildPythonPackage, 5 5 fetchFromGitHub, 6 + fetchpatch, 6 7 pythonOlder, 7 8 isPyPy, 8 9 ··· 53 54 --replace "3.0.0-beta-1" "3.0.0" 54 55 ''; 55 56 }; 57 + 58 + patches = [ 59 + # fix build on 32bit 60 + # https://github.com/sdispater/pendulum/pull/842 61 + (fetchpatch { 62 + url = "https://github.com/sdispater/pendulum/commit/6f2fcb8b025146ae768a5889be4a437fbd3156d6.patch"; 63 + hash = "sha256-47591JvpADxGQT2q7EYWHfStaiWyP7dt8DPTq0tiRvk="; 64 + }) 65 + ]; 56 66 57 67 nativeBuildInputs = [ 58 68 poetry-core