16 buildPythonPackage rec {
17 pname = "trezor_agent";
21 inherit pname version;
22 hash = "sha256-4IylpUvXZYAXFkyFGNbN9iPTsHff3M/RL2Eq9f7wWFU=";
25 propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
27 # relax dependency constraint
29 substituteInPlace setup.py \
30 --replace "trezor[hidapi]>=0.12.0,<0.13" "trezor[hidapi]>=0.12.0,<0.14"
34 pythonImportsCheck = [ "libagent" ];
37 description = "Using Trezor as hardware SSH agent";
38 homepage = "https://github.com/romanz/trezor-agent";
39 license = licenses.gpl3;
40 maintainers = with maintainers; [ hkjn np mmahut ];