GNU bug report logs - #36866
[PATCH] added trezord package

Previous Next

Package: guix-patches;

Reported by: mjbecze <at> riseup.net

Date: Wed, 31 Jul 2019 00:13:01 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: mjbecze <at> riseup.net
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 36866 <at> debbugs.gnu.org
Subject: [bug#36866] [PATCH 2/2] fixed copyright line and use git-fetch
Date: Thu, 01 Aug 2019 12:31:44 -0700

---
 gnu/packages/trezor.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/trezor.scm b/gnu/packages/trezor.scm
index 6da61d7f56..9f43d67175 100644
--- a/gnu/packages/trezor.scm
+++ b/gnu/packages/trezor.scm
@@ -1,6 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright � 2018 Pierre Neidhardt <mail <at> ambrevar.xyz>
-;;; Copyright � 2019 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright � 2019 Martin Becze <mjbecze <at> riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28,16 +27,16 @@
 (define-public trezord
   (package
     (name "trezord")
-    (version "2.0.17")
+    (version "v2.0.17")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/trezor/trezord-go/archive/v" version
-             ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/trezor/trezord-go.git")
+             (commit version)))
        (sha256
-        (base32
"1r68yb1q8v3vbxi95gsq1nfjw2v59sykchrbbc2kppy3cymfk411"))
-       (file-name (string-append name "-" version "-source"))))
+        (base32
"0nqzpq0i3crh0i4r1cppja5sn3rwi1fv9afxzwzv63096x5l30a7"))
+       (file-name (git-file-name name version))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/trezor/trezord-go"))
-- 
2.22.0





This bug report was last modified 5 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.