From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60308) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hscEp-0008O3-Hf for guix-patches@gnu.org; Tue, 30 Jul 2019 20:13:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hscEo-0003cq-9s for guix-patches@gnu.org; Tue, 30 Jul 2019 20:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42569) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hscEo-0003cK-1z for guix-patches@gnu.org; Tue, 30 Jul 2019 20:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hscEn-0002Sf-QG for guix-patches@gnu.org; Tue, 30 Jul 2019 20:13:01 -0400 Subject: [bug#36866] [PATCH] added trezord package Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55559) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hscDs-0008L1-LT for guix-patches@gnu.org; Tue, 30 Jul 2019 20:12:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hscDp-0001zd-Eb for guix-patches@gnu.org; Tue, 30 Jul 2019 20:12:04 -0400 Received: from mx1.riseup.net ([198.252.153.129]:44792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hscDp-0001wz-3L for guix-patches@gnu.org; Tue, 30 Jul 2019 20:12:01 -0400 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id A62251A0DDB for ; Tue, 30 Jul 2019 17:11:59 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 8F7CF222C64 for ; Tue, 30 Jul 2019 17:11:59 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Tue, 30 Jul 2019 17:11:59 -0700 From: mjbecze@riseup.net Message-ID: Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36866@debbugs.gnu.org =20 --- gnu/packages/trezor.scm | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 gnu/packages/trezor.scm diff --git a/gnu/packages/trezor.scm b/gnu/packages/trezor.scm new file mode 100644 index 0000000000..6da61d7f56 --- /dev/null +++ b/gnu/packages/trezor.scm @@ -0,0 +1,48 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =EF=BF=BD 2018 Pierre Neidhardt +;;; Copyright =EF=BF=BD 2019 Tobias Geerinckx-Rice +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages trezor) + #:use-module (guix licenses)=20 + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix download) + #:use-module (guix build-system go) + #:use-module (gnu packages golang)) + +(define-public trezord + (package + (name "trezord") + (version "2.0.17") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/trezor/trezord-go/archive/v" version + ".tar.gz")) + (sha256 + (base32 "1r68yb1q8v3vbxi95gsq1nfjw2v59sykchrbbc2kppy3cymfk411")) + (file-name (string-append name "-" version "-source")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/trezor/trezord-go")) + (home-page "https://trezor.io") + (synopsis "Trezor Communication Daemon aka Trezor Bridge (written in Go)") + (description "This allows a Trezor hardware wallet to communicate to the Trezor + wallet.") + (license lgpl3+))) --=20 2.22.0