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