From patchwork Fri Dec 30 21:46:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Cully X-Patchwork-Id: 45721 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 70DB027BBE9; Fri, 30 Dec 2022 21:49:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2C5F427BBE9 for ; Fri, 30 Dec 2022 21:49:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBNFQ-0003Dg-CB; Fri, 30 Dec 2022 16:49:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBNFO-0003DV-9f for guix-patches@gnu.org; Fri, 30 Dec 2022 16:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBNFO-0001WU-1t for guix-patches@gnu.org; Fri, 30 Dec 2022 16:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBNFN-00046w-SR for guix-patches@gnu.org; Fri, 30 Dec 2022 16:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60439] [PATCH] gnu: Add python-streamdeck-ui. Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Dec 2022 21:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60439 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60439@debbugs.gnu.org Cc: Brian Cully X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167243692815780 (code B ref -1); Fri, 30 Dec 2022 21:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2022 21:48:48 +0000 Received: from localhost ([127.0.0.1]:36207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBNF9-00046S-PM for submit@debbugs.gnu.org; Fri, 30 Dec 2022 16:48:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:33426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBNF7-00046K-Qt for submit@debbugs.gnu.org; Fri, 30 Dec 2022 16:48:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBNF7-0003BY-MZ for guix-patches@gnu.org; Fri, 30 Dec 2022 16:48:45 -0500 Received: from coleridge.kublai.com ([166.84.7.167] helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBNF6-0001U9-7p for guix-patches@gnu.org; Fri, 30 Dec 2022 16:48:45 -0500 Received: from psyduck.jhoto.kublai.com (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 9777BB457; Fri, 30 Dec 2022 16:48:13 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1672436893; bh=LnyxafCdZJfrAQIfGLdhzHieI1D+TzIedG3MgOZa/C8=; h=From:To:Cc:Subject:Date; b=WrAPX2iSffm5Lu/3tHLSbnVHCT7khv1gQSs4RDxSTqiVlLjP6n3nWSKt9kh+hVro2 ZhO8xiTBerzRaG8iCEEiwUFHdlCcpeIo7Y8oEE7Xr0I9Tf+l1HnH11PVkuvod/mZ8V k0HO1eX5GwC02ju3T6RFipZF9WlQg15BxrSa/3ic= Date: Fri, 30 Dec 2022 16:46:02 -0500 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Brian Cully X-ACL-Warn: , Brian Cully via Guix-patches X-Patchwork-Original-From: Brian Cully via Guix-patches via From: Brian Cully Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")