unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Cully via Guix-patches via <guix-patches@gnu.org>
To: 60439@debbugs.gnu.org
Cc: Brian Cully <bjc@spork.org>
Subject: [bug#60439] [PATCH] gnu: Add python-streamdeck-ui.
Date: Fri, 30 Dec 2022 16:46:02 -0500	[thread overview]
Message-ID: <aecfad737550208ff71824bdab57ebd2e88fad1f.1672436761.git.bjc@spork.org> (raw)

* gnu/packages/python-xyz.scm: (python-streamdeck-ui) New variable.
---
This patch requires `python-elgato-streamdeck', which is in patch #60437.
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 445efe563b..2f36342b62 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27734,6 +27734,42 @@ (define-public python-rnc2rng
 equivalent schemata in the XML-based default RELAX NG syntax.")
     (license license:expat)))
 
+(define-public python-streamdeck-ui
+  (package
+    (name "python-streamdeck-ui")
+    (version "2.0.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/timothycrosley/streamdeck-ui")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1kx2kns5fzqs5k0zp3x9365pjsk75k4dzx2by9x990wzhzk3xng5"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; tests require `python-hypothesis-auto', which isn't (yet) in Guix.
+     `(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  ;; sanity check uses precise dependency versions, and as a result,
+                  ;; will break constantly for no good reason all the time.
+                  (delete 'sanity-check))))
+    (home-page "https://timothycrosley.github.io/streamdeck-ui/")
+    (synopsis "User interface for controlling an Elgato Stream Deck")
+    (description
+     "This package provides a service, Web Interface, and UI for interacting with your
+computer using a Stream Deck")
+    (license license:expat)
+    (propagated-inputs (list python-cairosvg
+                             python-elgato-streamdeck
+                             python-filetype
+                             python-pillow
+                             python-pynput
+                             python-pyside-2
+                             python-xlib))
+    (native-inputs (list poetry python-toolchain))))
+
 (define-public python-elgato-streamdeck
   (package
     (name "python-elgato-streamdeck")
-- 
2.38.1





             reply	other threads:[~2022-12-30 21:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30 21:46 Brian Cully via Guix-patches via [this message]
2023-04-06 18:56 ` [bug#60439] [PATCH] gnu: Add python-streamdeck-ui Brian Cully via Guix-patches via

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=aecfad737550208ff71824bdab57ebd2e88fad1f.1672436761.git.bjc@spork.org \
    --to=guix-patches@gnu.org \
    --cc=60439@debbugs.gnu.org \
    --cc=bjc@spork.org \
    /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).