From d596fea5fd6cbcd98f1bc185817f2ae9d82060a9 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 28 Dec 2017 10:10:59 +0100 Subject: gnu: Add ledger-agent. * gnu/packages/finance.scm (ledger-agent): New variable. --- gnu/packages/finance.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 \" +Then set the environment variable GNUPGHOME to +\"${HOME}/.gnupg/trezor\".") + (license license:lgpl3))) -- cgit 1.4.1