From patchwork Sun Apr 19 03:23:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Martin Becze X-Patchwork-Id: 21352 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BD17D27BBE1; Sun, 19 Apr 2020 04:24:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7BE8A27BBE4 for ; Sun, 19 Apr 2020 04:24:16 +0100 (BST) Received: from localhost ([::1]:36920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ0Z6-0000zw-0F for patchwork@mira.cbaines.net; Sat, 18 Apr 2020 23:24:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55840) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ0Yy-0000zV-K0 for guix-patches@gnu.org; Sat, 18 Apr 2020 23:24:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQ0Yy-0005YG-2t for guix-patches@gnu.org; Sat, 18 Apr 2020 23:24:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQ0Ys-0005UV-1l for guix-patches@gnu.org; Sat, 18 Apr 2020 23:24:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQ0Yr-0005ac-UA for guix-patches@gnu.org; Sat, 18 Apr 2020 23:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40666] [PATCH 2/2] gnu: Add trezord-udev-rules. Resent-From: Martin Becze Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Apr 2020 03:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40666 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 40666@debbugs.gnu.org Received: via spool by 40666-submit@debbugs.gnu.org id=B40666.158726661221448 (code B ref 40666); Sun, 19 Apr 2020 03:24:01 +0000 Received: (at 40666) by debbugs.gnu.org; 19 Apr 2020 03:23:32 +0000 Received: from localhost ([127.0.0.1]:43925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQ0YO-0005Zs-34 for submit@debbugs.gnu.org; Sat, 18 Apr 2020 23:23:32 -0400 Received: from mx1.riseup.net ([198.252.153.129]:48550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQ0YL-0005Zj-FN for 40666@debbugs.gnu.org; Sat, 18 Apr 2020 23:23:30 -0400 Received: from bell.riseup.net (unknown [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 494Zsr4FG2zFcKt; Sat, 18 Apr 2020 20:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1587266608; bh=szgOjrn1pJ5HQ3ugEPbaRy02qGyYfwdjahfHd4z18n4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=W0wRve3XvVNiB8PijU//BevwIw7HScIKbjayZeshxT9xIMxEXeytGEC3HwVCsKfzp Fr2hR9Cjq5E4TGy7RX3q0wl8PDIWHiaW+OR9WcnzDahIZHbk7xsIGsmX8dGwFtSkyP QfBtR07qJ/dJv9fZ2BDCGRc+uYidG/Ius3YoLFRA= X-Riseup-User-ID: 7EAB3A3B9F5C7FCAFD3BD26EF8F6D6D21FEB6A77309E7D45F725ADD35DCDA61A Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 494Zsn1TpLzJnl0; Sat, 18 Apr 2020 20:23:24 -0700 (PDT) References: <20200416161713.3466-1-mjbecze@riseup.net> <20200416162044.3548-1-mjbecze@riseup.net> <87a739akal.fsf@gnu.org> From: Martin Becze Autocrypt: addr=mjbecze@riseup.net; keydata= mQENBE9w5AMBCADgJkbsy1TAb9x2MHupHGu+Rb7utyvsx/tdv2amgkm80PdzDWOAVJGvRX8g UQfnUUIUwXhicdd0mG5Xmf1S6YreV2qM2rYqO8rFk6cWyLK6901NpD+gXJgjKLipvjk+8370 l7yUJmoSDdNDK7kIhWOs6HYkMK5No/Bs4SbtY5PjF1tVmNbk5KzlyKUDmMclQB1gI0cmrJ2s doTuLz4IC90UZYhV9pq/MIGjlh4eY8aQR5Uj6/jXtrwneS9V3ouhB+R9uHtKqqyok5nNdPlC UvfA/bo/2er9UAmSkewLQOTKOfwj0Ei5IQ2eRLtO5LZLZi3K4m6FOB9s37gZ5K8tp/KtABEB AAG0G21hcnRpbiA8bWpiZWN6ZUByaXNldXAubmV0PokBTwQTAQIAOQIbIwYLCQgHAwIGFQgC CQoLBBYCAwECHgECF4AWIQTz7/81Or0tjbvA2rEyGpsLNjs9lwUCWQWzWQAKCRAyGpsLNjs9 l0SRB/9GFqbQeOADWJe9ke5RAAvD5HVGQCPCAsp+h+krgdsaOUySVAoVjo29fRQVoqmF1KY2 iCw9WQGiiwD8aMCEH1W+o9QPxMYeWFFyhqErEsv/BQRWNbvS9xb5YUXcB9QY68WDP83v5he2 pL7DI7fWwAx6xAAw9rgEduABewULNCsTU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ldtZoD1gHrvi+q ecnLqVSt3zJr2CmI+eBzSDee0KJxXYx2ga72yrrH9UhYE+6TEW1qXs0cjMd/gKu6IUk6fFmX 3mzizUG6k4lN1WefLgRkS69YrAiRTtrpUvMv6BEeLBDlBzi3RFYqdxghW6brlmhRv28muUWN ZjlEbsKmDE4fz2JVN64/wDeyqz/XREkWNYtJ/52H6c/CR7MV Message-ID: Date: Sat, 18 Apr 2020 22:23:16 -0500 MIME-Version: 1.0 In-Reply-To: <87a739akal.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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 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’. > From d5f984dcb2d77f281f0acf4b418276a801235d91 Mon Sep 17 00:00:00 2001 From: Martin Becze Date: Wed, 15 Apr 2020 19:37:53 -0500 Subject: [PATCH v2] gnu: Add trezor-common * gnu/packages/finance.scm (trezor-common): New variable. (trezord): Install udev rules from trezor-common. --- gnu/packages/finance.scm | 50 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index ee254c3a9f..b1f6ebcf60 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,35 @@ information.") (home-page "https://grisbi.org") (license license:gpl2+))) +(define-public trezor-common + (let ((commit "bff7fdfe436c727982cc553bdfb29a9021b423b0") + (revision "0")) + (package + (name "trezor-common") + (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 + ;; currently we only have use for the udev rules + '(("./udev/51-trezor.rules" "lib/udev/rules.d/")))) + (home-page "https://github.com/trezor/trezor-common") + (synopsis "This project contains files shared among Trezor projects.") + (description + "This project contains files shared among Trezor projects, +including the udev rules for trezord") + (properties '((hidden? . #t))) + (license license:lgpl3+)))) + (define-public trezord (package (name "trezord") @@ -1173,15 +1203,29 @@ information.") (origin (method git-fetch) (uri (git-reference - (url "https://github.com/trezor/trezord-go.git") - (commit (string-append "v" version)))) + (url "https://github.com/trezor/trezord-go.git") + (commit (string-append "v" version)))) (sha256 (base32 "1ks1fa0027s3xp0z6qp0dxmayvrb4dwwscfhbx7da0khp153f2cp")) (file-name (git-file-name name version)))) (build-system go-build-system) + (native-inputs + `(("trezor-common" ,trezor-common))) (arguments - '(#:import-path "github.com/trezor/trezord-go")) + '(#:import-path "github.com/trezor/trezord-go" + #:phases + (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (common (assoc-ref inputs "trezor-common")) + (rule-path "/lib/udev/rules.d/51-trezor.rules") + (input-path (string-append common rule-path)) + (output-path (string-append out rule-path))) + + ;; install the udev rules + (install-file input-path output-path))))))) (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 -- 2.26.1