unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53932] [PATCH] gnu: Add onlykey-udev-rules
@ 2022-02-10 21:31 Pāladhammika via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: Pāladhammika via Guix-patches via @ 2022-02-10 21:31 UTC (permalink / raw)
  To: 53932

[-- 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-10 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-10 21:31 [bug#53932] [PATCH] gnu: Add onlykey-udev-rules Pāladhammika via Guix-patches via

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).