1{ lib
2, buildPythonPackage
3, fetchPypi
4, trezor
5, libagent
6, ecdsa
7, ed25519
8, mnemonic
9, keepkey
10, semver
11, setuptools
12, wheel
13, pinentry
14}:
15
16buildPythonPackage rec {
17 pname = "trezor_agent";
18 version = "0.11.0";
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "139d917d6495bf290bcc21da457f84ccd2e74c78b4d59a649e0cdde4288cd20c";
23 };
24
25 propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
26
27 doCheck = false;
28 pythonImportsCheck = [ "libagent" ];
29
30 meta = with lib; {
31 description = "Using Trezor as hardware SSH agent";
32 homepage = "https://github.com/romanz/trezor-agent";
33 license = licenses.gpl3;
34 maintainers = with maintainers; [ hkjn np mmahut ];
35 };
36
37}