baf0703010
This commit renames the pythondaemon module to match its module name, github name, and pypi name, which makes it easier to find and reference. In order to avoid breaking any external users, I've left an alias with a deprecated warning.
29 lines
824 B
Nix
29 lines
824 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa , semver, mnemonic,
|
|
unidecode, mock, pytest , backports-shutil-which, ConfigArgParse,
|
|
python-daemon, pymsgbox }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "libagent";
|
|
version = "0.12.0";
|
|
|
|
src = fetchPypi{
|
|
inherit pname version;
|
|
sha256 = "55af1ad2a6c95aef1fc5588c2002c9e54edbb14e248776b64d00628235ceda3e";
|
|
};
|
|
|
|
propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse
|
|
python-daemon pymsgbox ecdsa ed25519 mnemonic semver ];
|
|
|
|
checkInputs = [ mock pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test libagent/tests
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|