3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.tbm-utils: fix build

This commit is contained in:
Jonathan Ringer 2020-06-25 18:25:29 -07:00 committed by Jon
parent 9a1a4138d3
commit d323a649ed

View file

@ -20,6 +20,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [ attrs pendulum pprintpp wrapt ];
# this versioning was done to prevent normal pip users from encountering
# issues with package failing to build from source, but nixpkgs is better
postPatch = ''
substituteInPlace setup.py \
--replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum>=2.0,<=3.0"
'';
# No tests in archive.
doCheck = false;