about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/ledger-agent/default.nix
blob: 28bdfb42485725d7713b89f550d12e2863556438 (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
{ 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 ];
  };
}