1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 00:49:27 +03:00
nixpkgs/pkgs/development/python-modules/libagent/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
957 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildPythonPackage, ed25519, ecdsa , semver, mnemonic
, unidecode, mock, pytest , backports-shutil-which, configargparse
, python-daemon, pymsgbox, pynacl }:
2017-05-31 22:42:35 +02:00
2021-08-18 22:13:23 -07:00
# XXX: when changing this package, please test the package onlykey-agent.
2017-05-31 22:42:35 +02:00
buildPythonPackage rec {
pname = "libagent";
version = "0.14.4";
2017-05-31 22:42:35 +02:00
src = fetchFromGitHub {
owner = "romanz";
repo = "trezor-agent";
rev = "v${version}";
sha256 = "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l";
2017-05-31 22:42:35 +02:00
};
propagatedBuildInputs = [ unidecode backports-shutil-which configargparse
python-daemon pymsgbox ecdsa ed25519 mnemonic semver pynacl ];
2017-11-07 18:00:57 +00:00
checkInputs = [ mock pytest ];
checkPhase = ''
py.test libagent/tests
'';
meta = with lib; {
2017-05-31 22:42:35 +02:00
description = "Using hardware wallets as SSH/GPG agent";
homepage = "https://github.com/romanz/trezor-agent";
license = licenses.lgpl3Only;
2017-05-31 22:42:35 +02:00
maintainers = with maintainers; [ np ];
};
}