linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / libagent / default.nix
blob5334513e23c8932458add096ef600234b6f40a11
1 { lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic,
2   unidecode, mock, pytest , backports-shutil-which, ConfigArgParse,
3   python-daemon, pymsgbox }:
5 buildPythonPackage rec {
6   pname = "libagent";
7   version = "0.14.1";
9   src = fetchFromGitHub {
10     owner = "romanz";
11     repo = "trezor-agent";
12     rev = "v${version}";
13     sha256 = "16y1y9ahcv3wj7f0v4mfiwzkmn2hz1iv7y13cgr57sxa3ymyqx6c";
14   };
16   propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse
17     python-daemon pymsgbox ecdsa ed25519 mnemonic semver ];
19   checkInputs = [ mock pytest ];
21   checkPhase = ''
22     py.test libagent/tests
23   '';
25   meta = with lib; {
26     description = "Using hardware wallets as SSH/GPG agent";
27     homepage = "https://github.com/romanz/trezor-agent";
28     license = licenses.lgpl3Only;
29     maintainers = with maintainers; [ np ];
30   };