summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-12-28 10:12:53 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2017-12-28 10:13:21 +0100
commit47c8ea994c2bed9f6716e3a8d00b7ad570b002a5 (patch)
treea3e7870604a6ca649847951e5dc8812cc2bf68e4 /gnu
parentd596fea5fd6cbcd98f1bc185817f2ae9d82060a9 (diff)
downloadguix-47c8ea994c2bed9f6716e3a8d00b7ad570b002a5.tar.gz
gnu: Add trezor-agent.
* gnu/packages/finance.scm (trezor-agent): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/finance.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f090b785a3..8da5bf58f0 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -639,3 +639,24 @@ 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)))
+
+(define-public trezor-agent
+  (package
+    (name "trezor-agent")
+    (version "0.9.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "trezor_agent" version))
+       (sha256
+        (base32
+         "1i5cdamlf3c0ym600pjklij74p8ifj9cv7xrpnrfl1b8nkadswbz"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-trezor" ,python-trezor)
+       ("python-trezor-agent" ,python-trezor-agent)))
+    (home-page "http://github.com/romanz/trezor-agent")
+    (synopsis "Using Trezor as hardware SSH/GPG agent")
+    (description "This package allows using Trezor as a hardware SSH/GPG
+agent.")
+    (license license:lgpl3)))