From patchwork Thu Feb 10 21:31:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?P=C4=81ladhammika?= X-Patchwork-Id: 37194 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 14DED27BBEA; Thu, 10 Feb 2022 22:59:07 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D266727BBE9 for ; Thu, 10 Feb 2022 22:59:06 +0000 (GMT) Received: from localhost ([::1]:45466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIIP4-0004Mz-11 for patchwork@mira.cbaines.net; Thu, 10 Feb 2022 17:59:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIH3m-0005fT-C5 for guix-patches@gnu.org; Thu, 10 Feb 2022 16:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIH3m-0002la-0n for guix-patches@gnu.org; Thu, 10 Feb 2022 16:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIH3l-0006w4-Vu for guix-patches@gnu.org; Thu, 10 Feb 2022 16:33:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53932] [PATCH] gnu: Add onlykey-udev-rules Resent-From: =?utf-8?q?P=C4=81ladhammika?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 21:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53932 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53932@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.164452872324861 (code B ref -1); Thu, 10 Feb 2022 21:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2022 21:32:03 +0000 Received: from localhost ([127.0.0.1]:57374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIH2p-0006SV-9g for submit@debbugs.gnu.org; Thu, 10 Feb 2022 16:32:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:43840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIH2o-0006R7-0n for submit@debbugs.gnu.org; Thu, 10 Feb 2022 16:32:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIH2n-0005QY-IP for guix-patches@gnu.org; Thu, 10 Feb 2022 16:32:01 -0500 Received: from mail-4325.protonmail.ch ([185.70.43.25]:62539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIH2k-0002dU-MD for guix-patches@gnu.org; Thu, 10 Feb 2022 16:32:00 -0500 Date: Thu, 10 Feb 2022 21:31:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644528716; bh=CzqDt2i/mv6Xe67dRsshsuqKkzIDE150GPnst754VPA=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=pe51NI+U73D/eoEd7ssNImvOhkla1wSBpVKlYqa7wd92cH9C/poclsCWJtvcvJBZH 8AV3zFgdVq/VwZG2qjJubSFGdILjYosDu03TgUs3MRwAABf3FW5mvcMusycOuggiZP W0RNyWp6g3YLNZTGNd7TUxJzvaF3TbjClLqDnLueg5ClIOhx03GGJBcQ9NnI2CIf7s 6OG2KWzuCeu4ST5aPIM1uh/Ae8CRUVM89ugL4O340EKlx9x8LN42wmlR2R6Jnmpu0I JXcg7sHPKXVqlKablbXNut4o/NJIVFsyI6384xVhFS9aKgW8dd792JYz/04yhmRQSP qXx5lhm8JfIhg== Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.25; envelope-from=paladhammika@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 10 Feb 2022 17:55:36 -0500 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" Reply-to: =?utf-8?q?P=C4=81ladhammika?= X-ACL-Warn: , =?utf-8?q?P=C4=81ladhammika_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?P=C4=81ladhammika_via_Guix-patches?= via From: =?utf-8?q?P=C4=81ladhammika?= X-getmail-retrieved-from-mailbox: Patches All the best, Pāladhammika From 3533849ad5d3b1b4ae4c7cf3616b410bf2e6df84 Mon Sep 17 00:00:00 2001 From: paladhammika Date: Thu, 10 Feb 2022 16:21:54 -0500 Subject: [PATCH] gnu: Add onlykey-udev-rules --- gnu/packages/python-crypto.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index e49ccdf1f2..654694b4dc 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1757,3 +1757,25 @@ (define-public python-sop scaffolding for the command line, which should make it relatively easy to supply a handful of python functions as methods to a class.") (license license:expat))) ; MIT license + +(define-public onlykey-udev-rules + (package + (name "onlykey-udev-rules") + (version "20210501") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/trustcrypto/OnlyKey-App") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18nvrqmlifh4m8nfs0d19sb9d1l3a95xc89qxqdr881jcxdsgflw")))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("./resources/linux/49-onlykey.rules" "/etc/udev/rules.d/")))) + (home-page "https://onlykey.io/") + (synopsis "Onlykey UDEV rules") + (description "UDEV rule in order for non-root users to be able to communicate with USB devices") + (license license:fsf-free))) -- 2.34.0