python3Packages.trezor_agent: relax trezor dependency constraint

This commit is contained in:
Pavol Rusnak 2021-12-10 21:40:37 +01:00
parent 510c040872
commit 1819d5e79e
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -24,6 +24,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
# relax dependency constraint
postPatch = ''
substituteInPlace setup.py \
--replace "trezor[hidapi]>=0.12.0,<0.13" "trezor[hidapi]>=0.12.0,<0.14"
'';
doCheck = false;
pythonImportsCheck = [ "libagent" ];