nixpkgs/pkgs/development/python-modules/libagent/default.nix

30 lines
824 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa , semver, mnemonic,
unidecode, mock, pytest , backports-shutil-which, ConfigArgParse,
python-daemon, pymsgbox }:
2017-05-31 22:42:35 +02:00
buildPythonPackage rec {
pname = "libagent";
2019-02-14 08:37:19 +01:00
version = "0.13.0";
2017-05-31 22:42:35 +02:00
src = fetchPypi{
inherit pname version;
2019-02-14 08:37:19 +01:00
sha256 = "ecd6854ba8f04d04e39cb00ae3a179d6a1d5dc8e0b60ac5208c0a62e10e3106e";
2017-05-31 22:42:35 +02:00
};
propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse
python-daemon pymsgbox ecdsa ed25519 mnemonic semver ];
2017-11-07 19:00:57 +01:00
checkInputs = [ mock pytest ];
checkPhase = ''
py.test libagent/tests
'';
2017-05-31 22:42:35 +02:00
meta = with stdenv.lib; {
description = "Using hardware wallets as SSH/GPG agent";
homepage = https://github.com/romanz/trezor-agent;
2017-05-31 22:42:35 +02:00
license = licenses.gpl3;
maintainers = with maintainers; [ np ];
};
}