14 buildPythonPackage rec {
15 pname = "onlykey-solo-python";
17 format = "setuptools";
20 inherit pname version;
21 hash = "sha256-88DuhgX4FCwzIKzw4RqWgMtjRdf5huVlKEHAAEminuQ=";
25 substituteInPlace setup.py \
26 --replace "fido2 == 0.9.3" "fido2"
30 # https://github.com/trustcrypto/onlykey-solo-python/pull/2
32 url = "https://github.com/trustcrypto/onlykey-solo-python/commit/c5a86506f940d4e8fbb670ed665ddca48779cbe9.patch";
33 hash = "sha256-LhCUR5QH9Je/Nr185HgQxfkCtat8W2Huv62zr5Mlrn4=";
37 propagatedBuildInputs = [ click ecdsa fido2 intelhex pyserial pyusb requests ];
41 pythonImportsCheck = [ "solo" ];
44 homepage = "https://github.com/trustcrypto/onlykey-solo-python";
45 description = "Python library for OnlyKey with Solo FIDO2";
46 maintainers = with maintainers; [ kalbasit ];
47 license = licenses.asl20;