unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Pāladhammika via Guix-patches via" <guix-patches@gnu.org>
To: 53932@debbugs.gnu.org
Subject: [bug#53932] [PATCH] gnu: Add onlykey-udev-rules
Date: Thu, 10 Feb 2022 21:31:55 +0000	[thread overview]
Message-ID: <OVacxuM1B_oTe_3i4GH_njUf-TPC8ozYHciHGXQA73in9NIpma2Pvf7F46vvZU_OvW8vz7lOPhKMH2temp7w1k_u_RITMoDhPCzk7M-fy0g=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 28 bytes --]

All the best,
Pāladhammika

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-onlykey-udev-rules.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-onlykey-udev-rules.patch, Size: 1533 bytes --]

From 3533849ad5d3b1b4ae4c7cf3616b410bf2e6df84 Mon Sep 17 00:00:00 2001
From: paladhammika <paladhammika@protonmail.com>
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


                 reply	other threads:[~2022-02-10 22:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='OVacxuM1B_oTe_3i4GH_njUf-TPC8ozYHciHGXQA73in9NIpma2Pvf7F46vvZU_OvW8vz7lOPhKMH2temp7w1k_u_RITMoDhPCzk7M-fy0g=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=53932@debbugs.gnu.org \
    --cc=paladhammika@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).