about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ledger-agent/default.nix
blob: e514260a8a34a8ad92bd65f5f48c5d3b881cd01d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,
  ledgerblue,
  setuptools,
  libagent,
  wheel,
}:

buildPythonPackage rec {
  pname = "ledger-agent";
  version = "0.9.0";
  format = "setuptools";

  src = fetchPypi {
    pname = "ledger_agent";
    inherit version;
    sha256 = "03zj602m2rln9yvr08dswy56vzkbldp8b074ixwzz525dafblr92";
  };

  propagatedBuildInputs = [
    ledgerblue
    libagent
    setuptools
    wheel
  ];

  # no tests
  doCheck = false;

  meta = with lib; {
    description = "Using Ledger as hardware-based SSH/PGP agent";
    homepage = "https://github.com/romanz/trezor-agent";
    license = licenses.gpl3;
    maintainers = with maintainers; [
      hkjn
      np
      mmahut
    ];
  };
}