bonfire: fix build

The build could be fixed by loosening the constraint for `click` (which
is currently at 7.0 in master). The CLI interface remains functional
with v7.

See also https://hydra.nixos.org/build/86455177
This commit is contained in:
Maximilian Bosch 2019-01-10 02:36:09 +01:00 committed by worldofpeace
parent fc24e4237d
commit ada7cf0c66

View file

@ -20,7 +20,8 @@ buildPythonApplication rec {
# https://github.com/blue-yonder/bonfire/pull/24
substituteInPlace requirements.txt \
--replace "arrow>=0.5.4,<0.8" "arrow>=0.5.4" \
--replace "keyring>=9,<10" "keyring>=9"
--replace "keyring>=9,<10" "keyring>=9" \
--replace "click>=3.3,<7" "click>=3.3"
# pip fails when encountering the git hash for the package version
substituteInPlace setup.py \
--replace "version=version," "version='${version}',"