1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 ledgerblue,
6 setuptools,
7 libagent,
8 wheel,
9}:
10
11buildPythonPackage rec {
12 pname = "ledger-agent";
13 version = "0.9.0";
14 format = "setuptools";
15
16 src = fetchPypi {
17 pname = "ledger_agent";
18 inherit version;
19 sha256 = "03zj602m2rln9yvr08dswy56vzkbldp8b074ixwzz525dafblr92";
20 };
21
22 propagatedBuildInputs = [
23 ledgerblue
24 libagent
25 setuptools
26 wheel
27 ];
28
29 # no tests
30 doCheck = false;
31
32 meta = with lib; {
33 description = "Using Ledger 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 platforms = lib.platforms.linux;
42 };
43}