1{ buildPythonPackage 2, click 3, ecdsa 4, fetchPypi 5, fido2 6, intelhex 7, lib 8, pyserial 9, pyusb 10, requests 11}: 12 13buildPythonPackage rec { 14 pname = "onlykey-solo-python"; 15 version = "0.0.28"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-Mbi5So2OgeXjg4Fzg7v2gAJuh1Y7ZCYu8Lrha/7PQfY="; 20 }; 21 22 propagatedBuildInputs = [ click ecdsa fido2 intelhex pyserial pyusb requests ]; 23 24 # no tests 25 doCheck = false; 26 pythonImportsCheck = [ "solo" ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/trustcrypto/onlykey-solo-python"; 30 description = "Python library for OnlyKey with Solo FIDO2"; 31 maintainers = with maintainers; [ kalbasit ]; 32 license = licenses.asl20; 33 }; 34} 35