2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, keepkey
|
|
|
|
, setuptools
|
|
|
|
, libagent
|
|
|
|
, wheel
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2024-01-13 08:15:51 +00:00
|
|
|
pname = "keepkey-agent";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "0.9.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-01-13 08:15:51 +00:00
|
|
|
pname = "keepkey_agent";
|
|
|
|
inherit version;
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "03779gvlx70i0nnry98i4pl1d92604ix5x6jgdfkrdgzqbh5vj27";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
keepkey libagent setuptools wheel
|
|
|
|
];
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
doCheck = false;
|
2022-12-17 10:02:37 +00:00
|
|
|
pythonImportsCheck = [ "keepkey_agent" ];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Using KeepKey as hardware-based SSH/PGP agent";
|
|
|
|
homepage = "https://github.com/romanz/trezor-agent";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ hkjn np mmahut ];
|
|
|
|
};
|
|
|
|
}
|