GNU bug report logs - #60437
[PATCH] gnu: Add python-elgato-streamdeck.

Previous Next

Package: guix-patches;

Reported by: Brian Cully <bjc <at> spork.org>

Date: Fri, 30 Dec 2022 21:47:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 60437 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60437; Package guix-patches. (Fri, 30 Dec 2022 21:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Cully <bjc <at> spork.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 30 Dec 2022 21:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Cully <bjc <at> spork.org>
To: guix-patches <at> gnu.org
Cc: Brian Cully <bjc <at> spork.org>
Subject: [PATCH] gnu: Add python-elgato-streamdeck.
Date: Fri, 30 Dec 2022 16:45:46 -0500
* gnu/packages/python-xyz.scm: (python-elgato-streamdeck) New variable.
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d2623bc32d..445efe563b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27734,6 +27734,35 @@ (define-public python-rnc2rng
 equivalent schemata in the XML-based default RELAX NG syntax.")
     (license license:expat)))
 
+(define-public python-elgato-streamdeck
+  (package
+    (name "python-elgato-streamdeck")
+    (version "0.9.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "streamdeck" version))
+              (sha256
+               (base32
+                "0wgcvz3l3qllwvsadsq6y96wc3p16agzmwwx26v3ir0ns6q5dczm"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'patch-source
+                          (lambda* (#:key inputs #:allow-other-keys)
+                            (substitute* "src/StreamDeck/Transport/LibUSBHIDAPI.py"
+                              (("libhidapi-libusb.so")
+                               (search-input-file inputs
+                                                  "/lib/libhidapi-libusb.so"))))))))
+    (home-page "https://github.com/abcminiuser/python-elgato-streamdeck")
+    (synopsis "Library to control Elgato StreamDeck devices")
+    (description "Library to control Elgato StreamDeck devices.")
+    (license (license:non-copyleft
+              (string-append
+               "https://github.com/abcminiuser/python-elgato-streamdeck"
+               "/blob/master/LICENSE")))
+    (propagated-inputs (list python-pillow))
+    (inputs (list hidapi))))
+
 (define-public python-pynput
   (package
     (name "python-pynput")
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#60437; Package guix-patches. (Thu, 06 Apr 2023 18:56:02 GMT) Full text and rfc822 format available.

Message #8 received at 60437 <at> debbugs.gnu.org (full text, mbox):

From: Brian Cully <bjc <at> spork.org>
To: 60437 <at> debbugs.gnu.org
Subject: Re: bug#60437: [PATCH] gnu: Add python-elgato-streamdeck.
Date: Thu, 06 Apr 2023 14:56:04 -0400
Can someone please take a look at this patch? It still applies cleanly
to master.

I've been using this, by way of ‘python-streamdeck-ui’ for many months
now.




This bug report was last modified 1 year and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.