GNU bug report logs - #40666
[PATCH 1/2] gnu: trezord: Update to 2.0.29.

Previous Next

Package: guix-patches;

Reported by: Martin Becze <mjbecze <at> riseup.net>

Date: Thu, 16 Apr 2020 16:18:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40666 in the body.
You can then email your comments to 40666 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#40666; Package guix-patches. (Thu, 16 Apr 2020 16:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Becze <mjbecze <at> riseup.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 16 Apr 2020 16:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: guix-patches <at> gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 1/2] gnu: trezord: Update to 2.0.29.
Date: Thu, 16 Apr 2020 11:17:13 -0500
* gnu/packages/finance.scm (trezord): Update to 2.0.29.
---
 gnu/packages/finance.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c5f9066fd7..0c05530a31 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -13,7 +13,7 @@
 ;;; Copyright © 2018 Arun Isaac <arunisaac <at> systemreboot.net>
 ;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv <at> posteo.net>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
-;;; Copyright © 2019 Martin Becze <mjbecze <at> riseup.net>
+;;; Copyright © 2019, 2020 Martin Becze <mjbecze <at> riseup.net>
 ;;; Copyright © 2019 Sebastian Schott <sschott <at> mailbox.org>
 ;;; Copyright © 2020 Kei Kebreau <kkebreau <at> posteo.net>
 ;;; Copyright © 2020 Christopher Lemmer Webber <cwebber <at> dustycloud.org>
@@ -1168,7 +1168,7 @@ information.")
 (define-public trezord
   (package
     (name "trezord")
-    (version "2.0.17")
+    (version "2.0.29")
     (source
      (origin
        (method git-fetch)
@@ -1177,7 +1177,7 @@ information.")
               (commit (string-append "v" version))))
        (sha256
         (base32
-         "0nqzpq0i3crh0i4r1cppja5sn3rwi1fv9afxzwzv63096x5l30a7"))
+         "1ks1fa0027s3xp0z6qp0dxmayvrb4dwwscfhbx7da0khp153f2cp"))
        (file-name (git-file-name name version))))
     (build-system go-build-system)
     (arguments
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40666; Package guix-patches. (Thu, 16 Apr 2020 16:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 40666 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: 40666 <at> debbugs.gnu.org
Cc: Martin Becze <mjbecze <at> riseup.net>
Subject: [PATCH 2/2] gnu: Add trezord-udev-rules.
Date: Thu, 16 Apr 2020 11:20:44 -0500
* gnu/packages/finance.scm (trezord-udev-rules): New variable.

---
 gnu/packages/finance.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 0c05530a31..66ca35483c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -41,6 +41,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system emacs)
   #:use-module (guix build-system python)
   #:use-module (guix build-system glib-or-gtk)
@@ -1165,6 +1166,33 @@ information.")
     (home-page "https://grisbi.org")
     (license license:gpl2+)))
 
+(define-public trezord-udev-rules
+  (let ((commit "bff7fdfe436c727982cc553bdfb29a9021b423b0")
+        (revision "0"))
+      (package
+        (name "trezord-udev-rules")
+        (version (git-version "0.0.0" revision commit))
+        (source
+         (origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://github.com/trezor/trezor-common.git")
+                 (commit commit)))
+           (sha256
+            (base32
+             "14mrirrn68if7ja6qdk9qlxs1hv0f21vrxy5ncnms0gx9iwakp2l"))
+           (file-name (git-file-name name version))))
+        (build-system copy-build-system)
+        (arguments
+         '(#:install-plan
+           '(("./udev/51-trezor.rules" "lib/udev/rules.d/"))))
+        (home-page "https://github.com/trezor/trezor-common")
+        (synopsis "The udev rules for trezord.")
+        (description
+         "This contains the udev rules for trezord. This will let a user run
+trezord as a regular user instead of needing to it run as root.")
+        (license license:lgpl3+))))
+
 (define-public trezord
   (package
     (name "trezord")
-- 
2.26.0





Information forwarded to guix-patches <at> gnu.org:
bug#40666; Package guix-patches. (Fri, 17 Apr 2020 21:13:01 GMT) Full text and rfc822 format available.

Message #11 received at 40666 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Martin Becze <mjbecze <at> riseup.net>
Cc: 40666 <at> debbugs.gnu.org
Subject: Re: [bug#40666] [PATCH 2/2] gnu: Add trezord-udev-rules.
Date: Fri, 17 Apr 2020 23:12:34 +0200
Hi Martin,

Martin Becze <mjbecze <at> riseup.net> skribis:

> * gnu/packages/finance.scm (trezord-udev-rules): New variable.

I think it would be best to add a phase to ‘trezord’ that installs its
udev rules (it’s quite common for packages to include udev rules.)

WDYT?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#40666; Package guix-patches. (Fri, 17 Apr 2020 21:14:02 GMT) Full text and rfc822 format available.

Message #14 received at 40666 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Martin Becze <mjbecze <at> riseup.net>
Cc: 40666 <at> debbugs.gnu.org
Subject: Re: [bug#40666] [PATCH 1/2] gnu: trezord: Update to 2.0.29.
Date: Fri, 17 Apr 2020 23:13:35 +0200
Martin Becze <mjbecze <at> riseup.net> skribis:

> * gnu/packages/finance.scm (trezord): Update to 2.0.29.

Applied, thanks!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#40666; Package guix-patches. (Sun, 19 Apr 2020 03:24:01 GMT) Full text and rfc822 format available.

Message #17 received at 40666 <at> debbugs.gnu.org (full text, mbox):

From: Martin Becze <mjbecze <at> riseup.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 40666 <at> debbugs.gnu.org
Subject: Re: [bug#40666] [PATCH 2/2] gnu: Add trezord-udev-rules.
Date: Sat, 18 Apr 2020 22:23:16 -0500
[Message part 1 (text/plain, inline)]
Sure thing! I here is the updated patch. Note I still need to add a new
package, since the udev rules are in a separate repo.

On 4/17/20 4:12 PM, Ludovic Courtès wrote:
> Hi Martin,
> 
> Martin Becze <mjbecze <at> riseup.net> skribis:
> 
>> * gnu/packages/finance.scm (trezord-udev-rules): New variable.
> 
> I think it would be best to add a phase to ‘trezord’ that installs its
> udev rules (it’s quite common for packages to include udev rules.)
> 
> WDYT?
> 
> Thanks,
> Ludo’.
> 
[v2-0001-gnu-Add-trezor-common.patch (text/x-patch, attachment)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 19 Apr 2020 11:07:01 GMT) Full text and rfc822 format available.

Notification sent to Martin Becze <mjbecze <at> riseup.net>:
bug acknowledged by developer. (Sun, 19 Apr 2020 11:07:01 GMT) Full text and rfc822 format available.

Message #22 received at 40666-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Martin Becze <mjbecze <at> riseup.net>
Cc: 40666-done <at> debbugs.gnu.org
Subject: Re: [bug#40666] [PATCH 2/2] gnu: Add trezord-udev-rules.
Date: Sun, 19 Apr 2020 13:06:24 +0200
Hi Martin,

Martin Becze <mjbecze <at> riseup.net> skribis:

> Sure thing! I here is the updated patch. Note I still need to add a new
> package, since the udev rules are in a separate repo.

Oh sorry, I had completely overlooked that.  I went with the first patch
then, it was the right choice!

Thank you,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 May 2020 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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