2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
keepkey,
|
|
|
|
setuptools,
|
|
|
|
libagent,
|
|
|
|
wheel,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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 = [
|
2024-06-05 15:53:02 +00:00
|
|
|
keepkey
|
|
|
|
libagent
|
|
|
|
setuptools
|
|
|
|
wheel
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
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;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
hkjn
|
|
|
|
np
|
|
|
|
mmahut
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|