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