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-10-25 20:04:35 +02:00
|
|
|
version = "0.9.5";
|
2017-05-31 22:42:35 +02:00
|
|
|
|
|
|
|
src = fetchPypi{
|
|
|
|
inherit pname version;
|
2017-10-25 20:04:35 +02:00
|
|
|
sha256 = "982b81c19dc9ee1158dc32fedbe1c36aff2b6872fa0dd42173b639b965ccfb2e";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|