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
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec{
|
|
|
|
pname = "trezor_agent";
|
2019-02-14 07:37:31 +00:00
|
|
|
version = "0.10.0";
|
2018-10-29 19:07:01 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:31 +00:00
|
|
|
sha256 = "e82bf000c1178b1a7612f2a90487eb34c6234d2edb15dc8e310ad875d8298690";
|
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-03 08:02:03 +01:00
|
|
|
maintainers = with maintainers; [ np mmahut ];
|
2018-10-29 19:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|