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