1{ stdenv
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.10.0";
19
20 src = fetchPypi {
21 inherit pname version;
22 sha256 = "e82bf000c1178b1a7612f2a90487eb34c6234d2edb15dc8e310ad875d8298690";
23 };
24
25 propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
26
27 meta = with stdenv.lib; {
28 description = "Using Trezor as hardware SSH agent";
29 homepage = "https://github.com/romanz/trezor-agent";
30 license = licenses.gpl3;
31 maintainers = with maintainers; [ hkjn np mmahut ];
32 };
33
34}