unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60437] [PATCH] gnu: Add python-elgato-streamdeck.
@ 2022-12-30 21:45 Brian Cully via Guix-patches via
  2023-04-06 18:56 ` Brian Cully via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Cully via Guix-patches via @ 2022-12-30 21:45 UTC (permalink / raw)
  To: 60437; +Cc: Brian Cully

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#60437] [PATCH] gnu: Add python-elgato-streamdeck.
  2022-12-30 21:45 [bug#60437] [PATCH] gnu: Add python-elgato-streamdeck Brian Cully via Guix-patches via
@ 2023-04-06 18:56 ` Brian Cully via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Cully via Guix-patches via @ 2023-04-06 18:56 UTC (permalink / raw)
  To: 60437

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-06 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-30 21:45 [bug#60437] [PATCH] gnu: Add python-elgato-streamdeck Brian Cully via Guix-patches via
2023-04-06 18:56 ` Brian Cully 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).