From 47c8ea994c2bed9f6716e3a8d00b7ad570b002a5 Mon Sep 17 00:00:00 2001
From: Danny Milosavljevic <dannym@scratchpost.org>
Date: Thu, 28 Dec 2017 10:12:53 +0100
Subject: gnu: Add trezor-agent.

* gnu/packages/finance.scm (trezor-agent): New variable.
---
 gnu/packages/finance.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

(limited to 'gnu/packages')

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)))
-- 
cgit 1.4.1