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