Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 34 lines 700 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, trezor 5, libagent 6, ecdsa 7, ed25519 8, mnemonic 9, keepkey 10, semver 11, setuptools 12, wheel 13, pinentry 14}: 15 16buildPythonPackage rec { 17 pname = "trezor_agent"; 18 version = "0.11.0"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "139d917d6495bf290bcc21da457f84ccd2e74c78b4d59a649e0cdde4288cd20c"; 23 }; 24 25 propagatedBuildInputs = [ setuptools trezor libagent ecdsa ed25519 mnemonic keepkey semver wheel pinentry ]; 26 27 meta = with stdenv.lib; { 28 description = "Using Trezor as hardware SSH agent"; 29 homepage = "https://github.com/romanz/trezor-agent"; 30 license = licenses.gpl3; 31 maintainers = with maintainers; [ hkjn np mmahut ]; 32 }; 33 34}