1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-10 22:57:15 +00:00
nixpkgs/pkgs/development/python-modules/libagent/default.nix

34 lines
776 B
Nix
Raw Normal View History

2017-05-31 21:42:35 +01:00
{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa
2017-11-07 18:00:57 +00:00
, semver, keepkey, trezor, mnemonic, ledgerblue, unidecode, mock, pytest
2017-05-31 21:42:35 +01:00
}:
buildPythonPackage rec {
pname = "libagent";
2018-08-13 08:26:33 +01:00
version = "0.12.0";
2017-05-31 21:42:35 +01:00
src = fetchPypi{
inherit pname version;
2018-08-13 08:26:33 +01:00
sha256 = "55af1ad2a6c95aef1fc5588c2002c9e54edbb14e248776b64d00628235ceda3e";
2017-05-31 21:42:35 +01:00
};
buildInputs = [
ed25519 ecdsa semver keepkey
trezor mnemonic ledgerblue
];
2017-11-07 18:00:57 +00:00
propagatedBuildInputs = [ unidecode ];
checkInputs = [ mock pytest ];
checkPhase = ''
py.test libagent/tests
'';
2017-05-31 21:42:35 +01:00
meta = with stdenv.lib; {
description = "Using hardware wallets as SSH/GPG agent";
homepage = https://github.com/romanz/trezor-agent;
2017-05-31 21:42:35 +01:00
license = licenses.gpl3;
maintainers = with maintainers; [ np ];
};
}