forked from mirrors/nixpkgs
31 lines
713 B
Nix
31 lines
713 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa
|
|
, semver, keepkey, trezor, mnemonic, ledgerblue, unidecode
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "libagent";
|
|
version = "0.9.2";
|
|
|
|
src = fetchPypi{
|
|
inherit pname version;
|
|
sha256 = "d6c6dccc0a7693fc966f5962604a69a800e044ac5add3dd030c34cfd4d64311f";
|
|
};
|
|
|
|
buildInputs = [
|
|
ed25519 ecdsa semver keepkey
|
|
trezor mnemonic ledgerblue
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
unidecode
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Using hardware wallets as SSH/GPG agent";
|
|
homepage = https://github.com/romanz/trezor-agent;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ np ];
|
|
};
|
|
}
|