Toggle diff (60 lines)diff --git a/gnu/packages/trezor.scm b/gnu/packages/trezor.scmnew file mode 100644index 0000000000..6da61d7f56--- /dev/null+++ b/gnu/packages/trezor.scm@@ -0,0 +1,48 @@+;;; GNU Guix --- Functional package management for GNU+;;; Copyright � 2018 Pierre Neidhardt <firstname.lastname@example.org>+;;; Copyright � 2019 Tobias Geerinckx-Rice <email@example.com>+;;;+;;; 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 <http://www.gnu.org/licenses/>.++(define-module (gnu packages trezor)+ #:use-module (guix licenses) + #: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 (writtenin Go)")+ (description "This allows a Trezor hardware wallet to communicateto the Trezor+ wallet.")+ (license lgpl3+)))-- 2.22.0
Le 1 août 2019 03:38:53 GMT+02:00, Martin Becze <firstname.lastname@example.org> a écrit :
Toggle quote (3 lines)>heyyy does anyone know if this is the correct way to open a PR to guix?>kinda missing easy github mode here... lol
Hey Martin, You're on the right track. Now, you just have to send your patches to this bug (email@example.com) with git send-email. If there's only one patch, you may send it as an attachment instead, but send-email is the prefered way.
Le 1 août 2019 08:12:25 GMT+02:00, Julien Lepiller <firstname.lastname@example.org> a écrit :
Toggle quote (13 lines)>Le 1 août 2019 03:38:53 GMT+02:00, Martin Becze <email@example.com> a>écrit :>>heyyy does anyone know if this is the correct way to open a PR to>guix?>>kinda missing easy github mode here... lol>>Hey Martin,>>You're on the right track. Now, you just have to send your patches to>this bug (firstname.lastname@example.org) with git send-email. If there's only>one patch, you may send it as an attachment instead, but send-email is>the prefered way.
Hi again, For some reason I didn't see your previous email with the patch, but I do now. Can you make sure the copyright line at the beginning is correct? It should only mentionned people who worked on that file, including you. Github tarballs are autogenerated, but get regenerated from time to time and they are not stable. We prefer to use tge git-fetch method for github, since it is more stable. There thould be plenty of examples in the repo, but we can take care of that. Otherwise, nice patch! Could you send an updated one to this bug number? Thank you!
Pushed as 01b37d0f74e483c1197f82b67b8575c0771bf08c, thank you! I've putyour package definition in finance.scm, along with bitcoin-core,monero, and other trezor stuff. I also changed the version back to whatit was in your original patch ("2.0.17" instead of "v2.0.17") and used(string-append "v" version) as the commit. Thank you again for your contribution!