2017-05-31 21:42:35 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa
|
|
|
|
, semver, keepkey, trezor, mnemonic, ledgerblue
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "libagent";
|
2017-07-28 15:49:08 +01:00
|
|
|
version = "0.9.2";
|
2017-05-31 21:42:35 +01:00
|
|
|
|
|
|
|
src = fetchPypi{
|
|
|
|
inherit pname version;
|
2017-07-28 15:49:08 +01:00
|
|
|
sha256 = "d6c6dccc0a7693fc966f5962604a69a800e044ac5add3dd030c34cfd4d64311f";
|
2017-05-31 21:42:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
ed25519 ecdsa semver keepkey
|
|
|
|
trezor mnemonic ledgerblue
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Using hardware wallets as SSH/GPG agent";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/romanz/trezor-agent;
|
2017-05-31 21:42:35 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|