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 stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pythonOlder, 7 isPyPy, 8 ··· 53 --replace "3.0.0-beta-1" "3.0.0" 54 ''; 55 }; 56 57 nativeBuildInputs = [ 58 poetry-core
··· 3 stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 + fetchpatch, 7 pythonOlder, 8 isPyPy, 9 ··· 54 --replace "3.0.0-beta-1" "3.0.0" 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 + ]; 66 67 nativeBuildInputs = [ 68 poetry-core