diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-12-28 10:10:59 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-12-28 10:12:16 +0100 |
commit | d596fea5fd6cbcd98f1bc185817f2ae9d82060a9 (patch) | |
tree | a9711b546b5431fb23539b317d9725fdd5937cc7 /gnu | |
parent | 1dca32e3b9dbb72b75b3f4e016ba165d4bd7d4b6 (diff) | |
download | guix-d596fea5fd6cbcd98f1bc185817f2ae9d82060a9.tar guix-d596fea5fd6cbcd98f1bc185817f2ae9d82060a9.tar.gz |
gnu: Add ledger-agent.
* gnu/packages/finance.scm (ledger-agent): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/finance.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index c35ace4546..f090b785a3 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -614,3 +614,28 @@ TREZOR Hardware Wallet.") (define-public python2-trezor (package-with-python2 python-trezor)) + +(define-public ledger-agent + (package + (name "ledger-agent") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ledger_agent" version)) + (sha256 + (base32 + "03zj602m2rln9yvr08dswy56vzkbldp8b074ixwzz525dafblr92")))) + (build-system python-build-system) + (inputs + `(("python-ledgerblue" ,python-ledgerblue) + ("python-trezor-agent" ,python-trezor-agent))) + (home-page "http://github.com/romanz/trezor-agent") + (synopsis "Ledger as hardware SSH/GPG agent") + (description "This package allows using Ledger as hardware SSH/GPG agent. + +Usage for SSH: trezor-agent foo@example.com --connect +Usage for GPG: Initialize using trezor-gpg init \"Foo <foo@example.com>\" +Then set the environment variable GNUPGHOME to +\"${HOME}/.gnupg/trezor\".") + (license license:lgpl3))) |