2018-10-29 19:07:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, trezor
|
|
|
|
, libagent
|
|
|
|
, ecdsa
|
|
|
|
, ed25519
|
|
|
|
, mnemonic
|
|
|
|
, keepkey
|
|
|
|
, semver
|
2019-10-17 16:18:11 +01:00
|
|
|
, setuptools
|
2019-09-03 08:01:23 +01:00
|
|
|
, wheel
|
|
|
|
, pinentry
|
2018-10-29 19:07:01 +00:00
|
|
|
}:
|
|
|
|
|
2020-06-08 08:37:17 +01:00
|
|
|
buildPythonPackage rec {
|
2018-10-29 19:07:01 +00:00
|
|
|
pname = "trezor_agent";
|
2020-06-06 07:47:34 +01:00
|
|
|
version = "0.11.0";
|
2018-10-29 19:07:01 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:34 +01:00
|
|
|
sha256 = "139d917d6495bf290bcc21da457f84ccd2e74c78b4d59a649e0cdde4288cd20c";
|
2018-10-29 19:07:01 +00:00
|
|
|
};
|
|
|
|
|
2019-10-17 16:18:11 +01:00
|
|
|
propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ];
|
2018-10-29 19:07:01 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Using Trezor as hardware SSH agent";
|
2019-09-03 08:02:03 +01:00
|
|
|
homepage = "https://github.com/romanz/trezor-agent";
|
2018-10-29 19:07:01 +00:00
|
|
|
license = licenses.gpl3;
|
2019-09-22 15:41:56 +01:00
|
|
|
maintainers = with maintainers; [ hkjn np mmahut ];
|
2018-10-29 19:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|