pynitrokey: relax dep on spsdk

This commit is contained in:
Johannes Schleifenbaum 2023-01-04 10:27:07 +01:00
parent 73d013b64e
commit e7fd848812
No known key found for this signature in database
GPG Key ID: 059093B1A278BCD0

View File

@ -33,11 +33,14 @@ buildPythonApplication rec {
tlv8
];
# spsdk is patched to allow for newer cryptography
postPatch = ''
substituteInPlace pyproject.toml \
--replace "cryptography >=3.4.4,<37" "cryptography"
'';
nativeBuildInputs = [
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"cryptography"
"spsdk"
];
# no tests
doCheck = false;