yubikey-manager4: fix build

This commit is contained in:
Sandro Jäckel 2023-03-01 01:45:38 +01:00
parent 5d609e47fe
commit 4abfe25faf
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -19,7 +19,7 @@ python3Packages.buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'fido2 = ">=0.9, <1.0"' 'fido2 = ">*"'
--replace 'cryptography = ">=2.1, <39"' 'cryptography = ">=2.1"'
substituteInPlace "ykman/pcsc/__init__.py" \
--replace 'pkill' '${if stdenv.isLinux then "${procps}" else "/usr"}/bin/pkill'
'';