1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 keepkey,
6 setuptools,
7 libagent,
8 wheel,
9}:
10
11buildPythonPackage rec {
12 pname = "keepkey-agent";
13 version = "0.9.0";
14 format = "setuptools";
15
16 src = fetchPypi {
17 pname = "keepkey_agent";
18 inherit version;
19 sha256 = "03779gvlx70i0nnry98i4pl1d92604ix5x6jgdfkrdgzqbh5vj27";
20 };
21
22 propagatedBuildInputs = [
23 keepkey
24 libagent
25 setuptools
26 wheel
27 ];
28
29 doCheck = false;
30 pythonImportsCheck = [ "keepkey_agent" ];
31
32 meta = with lib; {
33 description = "Using KeepKey as hardware-based SSH/PGP agent";
34 homepage = "https://github.com/romanz/trezor-agent";
35 license = licenses.gpl3;
36 maintainers = with maintainers; [
37 hkjn
38 np
39 mmahut
40 ];
41 };
42}