From patchwork Fri Dec 30 21:45:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Cully X-Patchwork-Id: 45719 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 34B0927BBE9; Fri, 30 Dec 2022 21:47:30 +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 C2F1127BBEB for ; Fri, 30 Dec 2022 21:47:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBNDW-0002zh-SZ; Fri, 30 Dec 2022 16:47:06 -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 1pBNDT-0002z2-0g for guix-patches@gnu.org; Fri, 30 Dec 2022 16:47:03 -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 1pBNDS-0001KC-LC for guix-patches@gnu.org; Fri, 30 Dec 2022 16:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBNDS-00040H-Fm for guix-patches@gnu.org; Fri, 30 Dec 2022 16:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60437] [PATCH] gnu: Add python-elgato-streamdeck. Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Dec 2022 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60437 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60437@debbugs.gnu.org Cc: Brian Cully X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167243676815311 (code B ref -1); Fri, 30 Dec 2022 21:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2022 21:46:08 +0000 Received: from localhost ([127.0.0.1]:36197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBNCZ-0003yt-PJ for submit@debbugs.gnu.org; Fri, 30 Dec 2022 16:46:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:54024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBNCY-0003yl-3Y for submit@debbugs.gnu.org; Fri, 30 Dec 2022 16:46:06 -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 1pBNCV-0002qD-0P for guix-patches@gnu.org; Fri, 30 Dec 2022 16:46:03 -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 1pBNCQ-00017B-Vz for guix-patches@gnu.org; Fri, 30 Dec 2022 16:46:02 -0500 Received: from psyduck.jhoto.kublai.com (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 588FBB589; Fri, 30 Dec 2022 16:45:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1672436758; bh=85zB9CfWwi6msmbY76elviiz8948Jx6BS1Cv6fZIIMg=; h=From:To:Cc:Subject:Date; b=Pt0+9iW7i3PBLJhTwM5+6kaIfMVIf0S0/1LLNOIRXP1YBM13wieLWtb4tkwfp/0BG xqY/VBFlLAFF8INxjetRrdzMM1tf3FKtMIim5YMDMzVo7mVYlurMT+ZAWsznwqh15z 93h7I4T1GIvrNvUdr3un4OX2zOt4FTVA7qiFc/N4= Date: Fri, 30 Dec 2022 16:45:46 -0500 Message-Id: <2a939ae3310e4a6973507cd7af4daecc6eeb72cd.1672436745.git.bjc@spork.org> 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-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")