Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 874 B view raw
1{ stdenv, fetchFromGitHub, 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.14.1"; 8 9 src = fetchFromGitHub { 10 owner = "romanz"; 11 repo = "trezor-agent"; 12 rev = "v${version}"; 13 sha256 = "16y1y9ahcv3wj7f0v4mfiwzkmn2hz1iv7y13cgr57sxa3ymyqx6c"; 14 }; 15 16 propagatedBuildInputs = [ unidecode backports-shutil-which ConfigArgParse 17 python-daemon pymsgbox ecdsa ed25519 mnemonic semver ]; 18 19 checkInputs = [ mock pytest ]; 20 21 checkPhase = '' 22 py.test libagent/tests 23 ''; 24 25 meta = with stdenv.lib; { 26 description = "Using hardware wallets as SSH/GPG agent"; 27 homepage = "https://github.com/romanz/trezor-agent"; 28 license = licenses.gpl3; 29 maintainers = with maintainers; [ np ]; 30 }; 31}