python3Packages.bidict: fix build

This commit is contained in:
Jonathan Ringer 2020-06-25 18:14:48 -07:00 committed by Jon
parent 279937fcf4
commit 9a1a4138d3

View File

@ -23,6 +23,12 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ sphinx ];
# this can be removed >0.19.0
postPatch = ''
substituteInPlace setup.py \
--replace "setuptools_scm < 4" "setuptools_scm"
'';
checkInputs = [
hypothesis
py