Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 824 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, ed25519, ecdsa , semver, mnemonic, 2 unidecode, mock, pytest , backports-shutil-which, ConfigArgParse, 3 python-daemon, pymsgbox }: 4 5buildPythonPackage rec { 6 pname = "libagent"; 7 version = "0.13.0"; 8 9 src = fetchPypi{ 10 inherit pname version; 11 sha256 = "ecd6854ba8f04d04e39cb00ae3a179d6a1d5dc8e0b60ac5208c0a62e10e3106e"; 12 }; 13 14 propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse 15 python-daemon pymsgbox ecdsa ed25519 mnemonic semver ]; 16 17 checkInputs = [ mock pytest ]; 18 19 checkPhase = '' 20 py.test libagent/tests 21 ''; 22 23 meta = with stdenv.lib; { 24 description = "Using hardware wallets as SSH/GPG agent"; 25 homepage = https://github.com/romanz/trezor-agent; 26 license = licenses.gpl3; 27 maintainers = with maintainers; [ np ]; 28 }; 29}