2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ledgerblue
|
|
|
|
, setuptools
|
|
|
|
, libagent
|
|
|
|
, wheel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ledger_agent";
|
|
|
|
version = "0.9.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "03zj602m2rln9yvr08dswy56vzkbldp8b074ixwzz525dafblr92";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
ledgerblue libagent setuptools wheel
|
|
|
|
];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|