python310Packages.onlykey-solo-python: make compatible with fido2 1.0.0
This commit is contained in:
parent
d0a614a2f8
commit
8f855704cc
|
@ -1,6 +1,7 @@
|
|||
{ buildPythonPackage
|
||||
, click
|
||||
, ecdsa
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, fido2
|
||||
, intelhex
|
||||
|
@ -19,6 +20,14 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-Mbi5So2OgeXjg4Fzg7v2gAJuh1Y7ZCYu8Lrha/7PQfY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/trustcrypto/onlykey-solo-python/pull/2
|
||||
(fetchpatch {
|
||||
url = "https://github.com/trustcrypto/onlykey-solo-python/commit/c5a86506f940d4e8fbb670ed665ddca48779cbe9.patch";
|
||||
hash = "sha256-LhCUR5QH9Je/Nr185HgQxfkCtat8W2Huv62zr5Mlrn4=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ click ecdsa fido2 intelhex pyserial pyusb requests ];
|
||||
|
||||
# no tests
|
||||
|
|
Loading…
Reference in a new issue