From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 16:45:40 2020 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 20:45:40 +0000 Received: from localhost ([127.0.0.1]:43584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2KrT-0002yT-UR for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:45:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:59374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2KrR-0002yK-TF for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:45:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2KrR-0004n2-9x for guix-patches@gnu.org; Sun, 02 Aug 2020 16:45:37 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.153]:59125) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2KrO-0002X7-Pk for guix-patches@gnu.org; Sun, 02 Aug 2020 16:45:37 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost.localdomain (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Sun, 2 Aug 2020 22:42:21 +0200 (CEST) From: Jan Wielkiewicz To: guix-patches@gnu.org Subject: [PATCH 0/2] Qmk cli Date: Sun, 2 Aug 2020 22:42:08 +0200 Message-Id: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596400941; bh=572sYZfKfhUXr1nK9ErS6U1jviHYN4sERaeFPapneCE=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:From:To:Cc:Subject: Date:Message-Id:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-Interia-Antivirus; b=gl7fyQSU5AYMbXINRUTfG4l9u9HBWdmnvD6jYxJi3MSq66aWE/JVt7gc6pZcE0m6M IuXIO4Qwmz3iB3+Zn5gD6tlAocZHmSFcLxpiRsn3UVnJtElYlWwEuKiZG+9M/CZ7Eg tkAGLQcRDXjPhQFqBYcIHRX1Wom2cyv1RR1ksBrw= Received-SPF: pass client-ip=217.74.65.153; envelope-from=tona_kosmicznego_smiecia@interia.pl; helo=smtpo.poczta.interia.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 16:42:22 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: submit Cc: Jan Wielkiewicz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hello, these patches add qmk-cli - a command line utility helping its users to mofify and flash qmk firmware on input devices like keyboards or mouses. I also add one python dependency. Project's website: https://qmk.fm/ Jan Wielkiewicz (2): gnu: Add python-hjson. gnu: Add qmk-cli. gnu/packages/hardware.scm | 50 +++++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 20 +++++++++++++++ 2 files changed, 70 insertions(+) Jan Wielkiewicz -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 16:49:24 2020 Received: (at 42682) by debbugs.gnu.org; 2 Aug 2020 20:49:25 +0000 Received: from localhost ([127.0.0.1]:43589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Kv6-00034L-HQ for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:49:24 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.153]:53828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Kv4-000347-Di for 42682@debbugs.gnu.org; Sun, 02 Aug 2020 16:49:23 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost.localdomain (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Sun, 2 Aug 2020 22:49:16 +0200 (CEST) From: Jan Wielkiewicz To: 42682@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add python-hjson. Date: Sun, 2 Aug 2020 22:49:09 +0200 Message-Id: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596401356; bh=5kkVet0e13AtGNI/CVB2eEqoLogAgEyw0Id4/8ulwtE=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:From:To:Cc:Subject: Date:Message-Id:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Interia-Antivirus; b=CdFQv+6ARvrgAdn7ruKUjlRBuvknMdbTVvxkopG68JrWMXZtimsGn5gZs6fl9pM4Q AHduuKWzI20EBr0HyflAVsiontFRkzhzylvGKlkRIu9okl8LOLjSbZt7JYhyf2eXd2 u+bL2xGAsd42wID3kl2oxQ0iG838ReSOSOpHHQnE= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: Jan Wielkiewicz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/python-xyz.scm (python-hjson): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9ab0b12383..316865ddf1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -83,6 +83,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka +;;; Copyright © 2020 Jan Wielkiewicz ;;; ;;; This file is part of GNU Guix. ;;; @@ -21298,3 +21299,22 @@ and have a maximum lifetime built-in.") "This package contains a small collection of test tool plugins for @code{nose2} and @code{flake8}.") (license license:asl2.0))) + +(define-public python-hjson + (package + (name "python-hjson") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hjson" version)) + (sha256 + (base32 + "1yaimcgz8w0ps1wk28wk9g9zdidp79d14xqqj9rjkvxalvx2f5qx")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; no tests + (home-page "http://github.com/hjson/hjson-py") + (synopsis "User interface for JSON.") + (description "Hjson, a user interface for JSON.") + (license license:expat))) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 16:49:36 2020 Received: (at 42682) by debbugs.gnu.org; 2 Aug 2020 20:49:36 +0000 Received: from localhost ([127.0.0.1]:43592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2KvH-00034j-Ve for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:49:36 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.153]:50370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2KvG-00034W-7G for 42682@debbugs.gnu.org; Sun, 02 Aug 2020 16:49:34 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost.localdomain (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Sun, 2 Aug 2020 22:49:28 +0200 (CEST) From: Jan Wielkiewicz To: 42682@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add qmk-cli. Date: Sun, 2 Aug 2020 22:49:10 +0200 Message-Id: <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596401368; bh=yGhINnQXUhTokQTR1bYYv8RsbaqkBiRrA/6l+5PW+HQ=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:From:To:Cc:Subject: Date:Message-Id:X-Mailer:In-Reply-To:References:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=uqnBIFzKkzEbDomWNSwMm+WuW2aYL8WGD/KEbuxGGYDN5A44e6hzeo5yEKmBVTOV+ GFTTjTmBbQSYqRc6rshIUqMcuFrT2zl4MwcM1hvakxd/UJhH1V6lU5vWGOZsTr7Q3g e1QB26YhhjIFBqk0WIWeFksNR/9VPTlbaSS1etgA= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: Jan Wielkiewicz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/hardware.scm (qmk-cli): New variable. --- gnu/packages/hardware.scm | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 211a5a34ac..adab986d75 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020 Brice Waegeneire +;;; Copyright © 2020 Jan Wielkiewicz ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,6 +20,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages hardware) + #:use-module (gnu packages avr) #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) @@ -27,6 +29,8 @@ #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages documentation) + #:use-module (gnu packages embedded) + #:use-module (gnu packages flashing-tools) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages libusb) @@ -36,10 +40,14 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages protobuf) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages version-control) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) @@ -465,3 +473,45 @@ authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system). Simply put, it is a USB device whitelisting tool.") (license license:gpl2))) + +(define-public qmk-cli + (package + (name "qmk-cli") + (version "0.0.35") + (source + (origin + (method url-fetch) + (uri (pypi-uri "qmk" version)) + (sha256 + (base32 + "1dd3q38r5bs9ih8jiwsb7q2655wyka2a8wlwv7yln9narlqwl177")))) + (build-system python-build-system) + (propagated-inputs + `(("arm-none-eabi-gcc" ,gcc-arm-none-eabi-7-2018-q2-update) + ("avr-gcc" ,avr-toolchain-5) + ("avrdude" ,avrdude) + ("dfu-programmer" ,dfu-programmer) + ("dfu-util" ,dfu-util) + ("git" ,git) + ("python3" ,python) + ("python-appdirs" ,python-appdirs) + ("python-argcomplete" ,python-argcomplete) + ("python-colorama" ,python-colorama) + ("python-flake8" ,python-flake8) + ("python-hjson" ,python-hjson) + ("python-nose2" ,python-nose2) + ("python-yapf" ,python-yapf))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'check 'set-qmk-home + (lambda _ + ;; tests fail without this variable set + (setenv "QMK_HOME" + "") + #t))))) + (home-page "https://github.com/qmk/qmk_cli") + (synopsis + "Tools for developing QMK Firmware") + (description + "A program to help users work with QMK Firmware.") + (license license:expat))) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 04:21:23 2020 Received: (at 42682) by debbugs.gnu.org; 3 Aug 2020 08:21:23 +0000 Received: from localhost ([127.0.0.1]:44182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Vik-0007tI-QY for submit@debbugs.gnu.org; Mon, 03 Aug 2020 04:21:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Vii-0007t2-Ug for 42682@debbugs.gnu.org; Mon, 03 Aug 2020 04:21:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36266) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Vic-00043x-VC; Mon, 03 Aug 2020 04:21:14 -0400 Received: from [2a01:cb18:832e:5f00:b06a:601:6fcc:d1cf] (port=52824 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2Vib-0006Ma-Nb; Mon, 03 Aug 2020 04:21:14 -0400 From: Mathieu Othacehe To: Jan Wielkiewicz Subject: Re: [bug#42682] [PATCH 1/2] gnu: Add python-hjson. References: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> Date: Mon, 03 Aug 2020 10:21:11 +0200 In-Reply-To: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> (Jan Wielkiewicz's message of "Sun, 2 Aug 2020 22:49:09 +0200") Message-ID: <873654uolk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Jan, Thanks for this patch. Please make sure to run the linter that reports two warnings here. > +(define-public python-hjson > + (package > + (name "python-hjson") > + (version "3.0.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "hjson" version)) > + (sha256 > + (base32 > + "1yaimcgz8w0ps1wk28wk9g9zdidp79d14xqqj9rjkvxalvx2f5qx")))) > + (build-system python-build-system) > + (arguments > + '(#:tests? #f)) ; no tests > + (home-page "http://github.com/hjson/hjson-py") > + (synopsis "User interface for JSON.") > + (description "Hjson, a user interface for JSON.") You need to elaborate on that with at least two or three sentences, explaining what is this user interface and what does it bring. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 04:26:15 2020 Received: (at 42682) by debbugs.gnu.org; 3 Aug 2020 08:26:15 +0000 Received: from localhost ([127.0.0.1]:44197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2VnS-00080x-Sy for submit@debbugs.gnu.org; Mon, 03 Aug 2020 04:26:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2VnR-00080h-JC for 42682@debbugs.gnu.org; Mon, 03 Aug 2020 04:26:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36334) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2VnL-00051B-BR; Mon, 03 Aug 2020 04:26:08 -0400 Received: from [2a01:cb18:832e:5f00:b06a:601:6fcc:d1cf] (port=52848 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2VnJ-00078p-SZ; Mon, 03 Aug 2020 04:26:06 -0400 From: Mathieu Othacehe To: Jan Wielkiewicz Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> Date: Mon, 03 Aug 2020 10:26:03 +0200 In-Reply-To: <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> (Jan Wielkiewicz's message of "Sun, 2 Aug 2020 22:49:10 +0200") Message-ID: <87y2mwt9t0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > + (propagated-inputs > + `(("arm-none-eabi-gcc" ,gcc-arm-none-eabi-7-2018-q2-update) > + ("avr-gcc" ,avr-toolchain-5) > + ("avrdude" ,avrdude) > + ("dfu-programmer" ,dfu-programmer) > + ("dfu-util" ,dfu-util) > + ("git" ,git) > + ("python3" ,python) > + ("python-appdirs" ,python-appdirs) > + ("python-argcomplete" ,python-argcomplete) > + ("python-colorama" ,python-colorama) > + ("python-flake8" ,python-flake8) > + ("python-hjson" ,python-hjson) > + ("python-nose2" ,python-nose2) > + ("python-yapf" ,python-yapf))) Do we really need to propagate all those inputs? Can't we hardcode the path to those tools directly in the sources, if they are not registered at build time? > + (arguments > + `(#:phases (modify-phases %standard-phases > + (add-before 'check 'set-qmk-home > + (lambda _ > + ;; tests fail without this variable set > + (setenv "QMK_HOME" > + "") Who is supposed to set it otherwise? > + "A program to help users work with QMK Firmware.") You also need to elaborate here :) Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 08:28:44 2020 Received: (at 42682) by debbugs.gnu.org; 3 Aug 2020 12:28:44 +0000 Received: from localhost ([127.0.0.1]:44559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Za7-0001X9-W0 for submit@debbugs.gnu.org; Mon, 03 Aug 2020 08:28:44 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.155]:39607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Za2-0001Wr-II for 42682@debbugs.gnu.org; Mon, 03 Aug 2020 08:28:42 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Mon, 3 Aug 2020 14:28:32 +0200 (CEST) Date: Mon, 3 Aug 2020 14:28:24 +0200 From: Jan Wielkiewicz To: Mathieu Othacehe Subject: Re: [bug#42682] [PATCH 1/2] gnu: Add python-hjson. Message-ID: <20200803142824.125def3c@interia.pl> In-Reply-To: <873654uolk.fsf@gnu.org> References: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <873654uolk.fsf@gnu.org> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596457712; bh=gzYlm0Sciwhpgi9/tyrXrR4eGgL56a8ew7VjZZ7YalE=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=DiEupMgpDmaiN+lp1n6BEgWoCr7uxYJzFrdlfnhs6Q1Nnlo3MbHtd9JD0TMu5S9RW xI1rf0JyuK355mW7/J/wym2ZKbAd7apNrPdEujP6KMaY7PsDjOEpDITklfWyU9izaf 34jHK+7rQTDVMx9KmZQZ5KiXX0426WZVcghfRY9M= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Dnia 2020-08-03, o godz. 10:21:11 Mathieu Othacehe napisa=C5=82(a): >=20 > Hello Jan, >=20 > Thanks for this patch. Please make sure to run the linter that reports > two warnings here. Okay. I'll check that. >=20 > You need to elaborate on that with at least two or three sentences, > explaining what is this user interface and what does it bring. To be honest, I'm not sure what they mean by "user interface to JSON". They vaguely explain this on their website https://hjson.github.io/ I'm also not sure if I'm permited to just copy and paste text from their website because of copyright. My English is also sloppy sometimes and I fail to write meaningful description about too abstract things. I can try diving in and check what it does, but I don't have any experience with Python. > Thanks, >=20 > Mathieu From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 03 08:44:00 2020 Received: (at 42682) by debbugs.gnu.org; 3 Aug 2020 12:44:00 +0000 Received: from localhost ([127.0.0.1]:44596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Zou-0001uv-Fi for submit@debbugs.gnu.org; Mon, 03 Aug 2020 08:44:00 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.155]:56191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Zor-0001ug-Ol for 42682@debbugs.gnu.org; Mon, 03 Aug 2020 08:43:58 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Mon, 3 Aug 2020 14:43:50 +0200 (CEST) Date: Mon, 3 Aug 2020 14:43:49 +0200 From: Jan Wielkiewicz To: Mathieu Othacehe Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. Message-ID: <20200803144349.06022fa4@interia.pl> In-Reply-To: <87y2mwt9t0.fsf@gnu.org> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596458630; bh=HmiZxVxEFK9wrmOgh3Jh8MG5+r9VZN1+ejOBWVI6930=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=GRcbsMB6CHWO1qjlW/TlduKMWf6riKon7kf8Kagk5H1M7xTkex5yFa4qjJIgxNSmL m+71ZT+dTTdmfdmKS3zT2iROh3koloJ0AYKBOQjzOGv/xLJUi7GZaqcfUMOOLYDn1t mqWnJL2IsJ/j3yx4kxvaia207sura4M39c1ap8hU= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Dnia 2020-08-03, o godz. 10:26:03 Mathieu Othacehe napisa=C5=82(a): >=20 > > + (propagated-inputs > > + `(("arm-none-eabi-gcc" ,gcc-arm-none-eabi-7-2018-q2-update) > > + ("avr-gcc" ,avr-toolchain-5) > > + ("avrdude" ,avrdude) > > + ("dfu-programmer" ,dfu-programmer) > > + ("dfu-util" ,dfu-util) > > + ("git" ,git) > > + ("python3" ,python) > > + ("python-appdirs" ,python-appdirs) > > + ("python-argcomplete" ,python-argcomplete) > > + ("python-colorama" ,python-colorama) > > + ("python-flake8" ,python-flake8) > > + ("python-hjson" ,python-hjson) > > + ("python-nose2" ,python-nose2) > > + ("python-yapf" ,python-yapf))) >=20 > Do we really need to propagate all those inputs? The python dependencies were added to propagated inputs automatically by "guix import". The other tools are needed in the user profine, because qmk-cli uses them, for example it fetches qmk firmware from git, it runs some *python stuff* and when user is done making changes to their firmware, qmk cli builds the firmware using the compiler and flashes it using dfu. I think it would be cool if Guix allowed defining profiles and environments the same way it allows defining packages. This way installing qmk-cli would also install say qmk-profile with all headers (and tools) needed for development. Now, even though arv-toolchain is installed, I have to run "guix environment qmk-cli" to be able to work with the firmware without getting build errors. > Can't we hardcode the > path to those tools directly in the sources, if they are not > registered at build time? I need them installed, so qmk-cli doesn't complain. Should the user be responsible for installing all the tools needed for development? > > + (arguments > > + `(#:phases (modify-phases %standard-phases > > + (add-before 'check 'set-qmk-home > > + (lambda _ > > + ;; tests fail without this variable set > > + (setenv "QMK_HOME" > > + "") >=20 > Who is supposed to set it otherwise? I'm not sure. That's the first thing qmk-cli sets when it is already installed. Normally, qmk-cli is installed by pip, maybe it is responsible for setting the variables? > > + "A program to help users work with QMK Firmware.") >=20 > You also need to elaborate here :) Should I describe what qmk firmware is or say more about what working with qmk firmware is, or both? > Thanks, >=20 > Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 05:17:56 2020 Received: (at 42682) by debbugs.gnu.org; 5 Aug 2020 09:17:56 +0000 Received: from localhost ([127.0.0.1]:49776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3FYZ-0004kq-VB for submit@debbugs.gnu.org; Wed, 05 Aug 2020 05:17:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3FYX-0004kc-M1 for 42682@debbugs.gnu.org; Wed, 05 Aug 2020 05:17:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52479) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3FYR-0003ob-Mf; Wed, 05 Aug 2020 05:17:47 -0400 Received: from lfbn-ann-1-356-169.w86-200.abo.wanadoo.fr ([86.200.73.169]:36268 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3FYR-0005Kd-4Z; Wed, 05 Aug 2020 05:17:47 -0400 From: Mathieu Othacehe To: Jan Wielkiewicz Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> Date: Wed, 05 Aug 2020 11:17:43 +0200 In-Reply-To: <20200803144349.06022fa4@interia.pl> (Jan Wielkiewicz's message of "Mon, 3 Aug 2020 14:43:49 +0200") Message-ID: <87o8npjvt4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Jan, >> Do we really need to propagate all those inputs? > The python dependencies were added to propagated inputs automatically > by "guix import". The other tools are needed in the user profine, > because qmk-cli uses them, for example it fetches qmk firmware from > git, it runs some *python stuff* and when user is done making changes > to their firmware, qmk cli builds the firmware using the compiler and > flashes it using dfu. Turns out qmk_cli is just a wrapper around qmk_firmware. It clones qmk firmware repository because it cannot locate a qmk_firmware directory using QMK_HOME variable. I think the proper way to do things would be to package qmk_firwmare first (it has a root shell.nix file that should help). Then this package would define QMK_HOME using "search-paths". This way, qmk_cli would just require some python libraries, but would not propagate git, and the toolchains. Does it make sense? Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 08:23:00 2020 Received: (at 42682) by debbugs.gnu.org; 5 Aug 2020 12:23:00 +0000 Received: from localhost ([127.0.0.1]:50291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3IRg-00083k-2m for submit@debbugs.gnu.org; Wed, 05 Aug 2020 08:23:00 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.154]:35103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3IRb-00083S-5S for 42682@debbugs.gnu.org; Wed, 05 Aug 2020 08:22:59 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Wed, 5 Aug 2020 14:22:48 +0200 (CEST) Date: Wed, 5 Aug 2020 14:22:40 +0200 From: Jan Wielkiewicz To: Mathieu Othacehe Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. Message-ID: <20200805142240.075ac063@interia.pl> In-Reply-To: <87o8npjvt4.fsf@gnu.org> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596630169; bh=S+Ttgle6+lB+mKfaErUT0Qmq6mEgImoehYFzziSfXZg=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=noN/2HmjcGQfMH2hbphvjOSyBb8GlRU9G9FR2O0MbbfXJZz9rlvBCt0RWIiSr75GM WKso0H2INGOOanhLI3TXQXQKtCYjzVTC2kLyRI7BMyiV/PY7ay/872G0Shh9/NUWpo omsw4gUeU+wvVBZE5liGhQ6mPeC+Gl71P+2SfsoI= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Dnia 2020-08-05, o godz. 11:17:43 Mathieu Othacehe napisa=C5=82(a): >=20 > Hello Jan, >=20 > >> Do we really need to propagate all those inputs? > > The python dependencies were added to propagated inputs > > automatically by "guix import". The other tools are needed in the > > user profine, because qmk-cli uses them, for example it fetches qmk > > firmware from git, it runs some *python stuff* and when user is > > done making changes to their firmware, qmk cli builds the firmware > > using the compiler and flashes it using dfu. >=20 > Turns out qmk_cli is just a wrapper around qmk_firmware. It clones qmk > firmware repository because it cannot locate a qmk_firmware directory > using QMK_HOME variable. >=20 > I think the proper way to do things would be to package qmk_firwmare > first (it has a root shell.nix file that should help). Then this > package would define QMK_HOME using "search-paths". >=20 > This way, qmk_cli would just require some python libraries, but would > not propagate git, and the toolchains. >=20 > Does it make sense? But the entire point of qmk firmware is that the user configures it. I had to modify the source code to make my keyboard work and add some extra features like layouts, special keys. Your solution will only work for the unmodified and default firmware, or is there a Guix solution for it I'm not aware of, like a convenient interface for user defined packages? > Thanks, >=20 > Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 04:20:30 2020 Received: (at 42682) by debbugs.gnu.org; 7 Aug 2020 08:20:30 +0000 Received: from localhost ([127.0.0.1]:55631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3xc5-0001WU-QX for submit@debbugs.gnu.org; Fri, 07 Aug 2020 04:20:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3xc4-0001WH-4J for 42682@debbugs.gnu.org; Fri, 07 Aug 2020 04:20:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38389) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3xby-0002lG-AI; Fri, 07 Aug 2020 04:20:22 -0400 Received: from pop.92-184-100-121.mobile.abo.orange.fr ([92.184.100.121]:42824 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k3xbw-00016b-Ss; Fri, 07 Aug 2020 04:20:22 -0400 From: Mathieu Othacehe To: Jan Wielkiewicz Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> <20200805142240.075ac063@interia.pl> Date: Fri, 07 Aug 2020 10:20:17 +0200 In-Reply-To: <20200805142240.075ac063@interia.pl> (Jan Wielkiewicz's message of "Wed, 5 Aug 2020 14:22:40 +0200") Message-ID: <87364yq33y.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, > But the entire point of qmk firmware is that the user configures it. I > had to modify the source code to make my keyboard work and add some > extra features like layouts, special keys. Your solutio [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [92.184.100.121 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.92 listed in list.dnswl.org] X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Hello, > But the entire point of qmk firmware is that the user configures it. I > had to modify the source code to make my keyboard work and add some > extra features like layouts, special keys. Your solution will only work > for the unmodified and default firmware, or is there a Guix solution > for it I'm not aware of, like a convenient interface for user defined > packages? Oh I see. Nonetheless, qmk_cli is a thin wrapper around qmk_firmware. I think it would make more sense to have qmk_firmware properly packaged. This way we would offer people a way to build their customized firmware without propagating toolchains and fetching a git repository. WDYT? Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 11:44:20 2020 Received: (at 42682) by debbugs.gnu.org; 7 Aug 2020 15:44:20 +0000 Received: from localhost ([127.0.0.1]:57423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k44Xb-0000J3-Il for submit@debbugs.gnu.org; Fri, 07 Aug 2020 11:44:20 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.154]:36388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k44XX-0000Io-5m for 42682@debbugs.gnu.org; Fri, 07 Aug 2020 11:44:18 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Fri, 7 Aug 2020 17:44:08 +0200 (CEST) Date: Fri, 7 Aug 2020 17:44:01 +0200 From: Jan Wielkiewicz To: Mathieu Othacehe Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. Message-ID: <20200807174401.21be8219@interia.pl> In-Reply-To: <87364yq33y.fsf@gnu.org> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> <20200805142240.075ac063@interia.pl> <87364yq33y.fsf@gnu.org> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1596815049; bh=2vZ2hi5XiAwDLhMBGF7vwmOixLMURCHAVTF1zzFVo6U=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=GoxEwUsrOr0m8k/XWmvVyQCQXqgRyd5E5Oi5Yam7vHYdTSqDi49Hr45HpR/y+y1y9 4DGX0RqNnk5HEMmdB6cjV4PNx7sm8wilof5VZCkilvL3EwonYTsr1TVKrT2S6o/9qd 8X54R58iVPEBtK1qreG3scjxtWdSTn8iMce59yHs= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Dnia 2020-08-07, o godz. 10:20:17 Mathieu Othacehe napisa=C5=82(a): >=20 > Hello, >=20 > > But the entire point of qmk firmware is that the user configures > > it. I had to modify the source code to make my keyboard work and > > add some extra features like layouts, special keys. Your solution > > will only work for the unmodified and default firmware, or is there > > a Guix solution for it I'm not aware of, like a convenient > > interface for user defined packages? >=20 > Oh I see. Nonetheless, qmk_cli is a thin wrapper around qmk_firmware. > I think it would make more sense to have qmk_firmware properly > packaged. >=20 > This way we would offer people a way to build their customized > firmware without propagating toolchains and fetching a git repository. >=20 > WDYT? I can do this then, give me some time. > Mathieu Jan Wielkiewicz From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 05 06:40:05 2021 Received: (at 42682) by debbugs.gnu.org; 5 Feb 2021 11:40:06 +0000 Received: from localhost ([127.0.0.1]:43000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7zT3-0005ON-Lp for submit@debbugs.gnu.org; Fri, 05 Feb 2021 06:40:05 -0500 Received: from mail-lf1-f42.google.com ([209.85.167.42]:42697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7zT1-0005Np-PY for 42682@debbugs.gnu.org; Fri, 05 Feb 2021 06:40:04 -0500 Received: by mail-lf1-f42.google.com with SMTP id h12so9401327lfp.9 for <42682@debbugs.gnu.org>; Fri, 05 Feb 2021 03:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=GYn/Tl5KLXyPC/VCEVNvarzHZIA+XPi5dXIgcP9ByGE=; b=oQW1Cdg1Ca8tJkF79e5uEEZLUWiw8AzqUcivgDsWoNKvhSyZdZM8vkmVOeqTlor187 e3v8GKHoTvNuyIiGLhJS9MtwMM5AZ+iKPhNrXjpBjB/S5yDrVsCmcdScb7wcncWzUPGf gR84oWrGDaV02B7XktiADAZg5yDOTIZzllrCUrLOgwjFklPjkhgO2eEZyJisF5iaFn4D 2PNpw+J52y0WGK4B9dIjqGcYrLrgV/iBrBkC2oruL8uKdVC+FucMkKMI9V2/0l6z/QvF kwetLec6+POM5i0ifXfB7Ha3ULrZJCei4c49FNcWgf/DL7D9U5sU1XKr+xiqe0jzIfZ5 MPzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=GYn/Tl5KLXyPC/VCEVNvarzHZIA+XPi5dXIgcP9ByGE=; b=N6NDd4E8LifM0303Y0UGDqxJYATXXfvOBCmAJcxatdBH2P14ru0xp6ETj0gf6rLrmt 9kdoEnHM88/h6ggbWZOHz01EvbgPnl+JokNM4OCBE9txQ8sMeegmasYEE6c0UrgrlE4z ABYxzvRgwgiiEUzb43HrABIHwm8Vr338rbXarSKTQ0w4yrsIx9BbDJYuY2g873zz45N1 VM4j3LN6E18/rMG/k/1X7oKVIGD4dcFHqxM+Pv3WbLuK8VMjslghCB15SObptcR5GgDk Ldzt7JfYXs2AeNcw+l7CJE9MaUuUm2qvlkikX9iNwqRDHOHz5No+z3FqqBafJw/D66vW Dk8g== X-Gm-Message-State: AOAM532eFtyaxlJxVP/4K+tf7Pa9S4rMDyhShFeDKNms+x1UYKTJetM2 OP6exYwnv67f6dJScHPsYYwGo8c/bpY= X-Google-Smtp-Source: ABdhPJw4k8Cu7O3JQj0PTUcMwmGkhdD+ytX4/YWyF8E5Evqe1UAviRQ0uXfuUjoDcCZ25zfgTPU6Ew== X-Received: by 2002:ac2:4d9b:: with SMTP id g27mr2235369lfe.79.1612525197569; Fri, 05 Feb 2021 03:39:57 -0800 (PST) Received: from guixSD (host-87-4-165-57.retail.telecomitalia.it. [87.4.165.57]) by smtp.gmail.com with ESMTPSA id w2sm959217lfd.305.2021.02.05.03.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:39:56 -0800 (PST) From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti To: Jan Wielkiewicz , Mathieu Othacehe Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. In-Reply-To: <20200807174401.21be8219@interia.pl> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> <20200805142240.075ac063@interia.pl> <87364yq33y.fsf@gnu.org> <20200807174401.21be8219@interia.pl> Date: Fri, 05 Feb 2021 12:39:55 +0100 Message-ID: <87sg6a216c.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42682 Cc: 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jan Wielkiewicz writes: > Dnia 2020-08-07, o godz. 10:20:17 > Mathieu Othacehe napisa=C5=82(a): > >>=20 >> Hello, >>=20 >> > But the entire point of qmk firmware is that the user configures >> > it. I had to modify the source code to make my keyboard work and >> > add some extra features like layouts, special keys. Your solution >> > will only work for the unmodified and default firmware, or is there >> > a Guix solution for it I'm not aware of, like a convenient >> > interface for user defined packages? >>=20 >> Oh I see. Nonetheless, qmk_cli is a thin wrapper around qmk_firmware. >> I think it would make more sense to have qmk_firmware properly >> packaged. >>=20 >> This way we would offer people a way to build their customized >> firmware without propagating toolchains and fetching a git repository. >>=20 >> WDYT? > I can do this then, give me some time. > >> Mathieu > > > Jan Wielkiewicz Hi Jan, have you been working on this? My new qmk-supported keyboard is coming and I'd love to be able to flash it with guix. I built qmk-firmware in guix (but there are bundled dependencies that still need to be removed). I was planning to use mugur with it, which calls make -C source-path keyboard:type So, my first idea (which should apply to qmk-cli too) was to patch this to call guix build --with-source and hopefully get this working, but I don't know how robust this is (or if it is even going to work). (I'll also have to package https://github.com/zsa/wally, but it does not seem to require qmk-cli) Nicol=C3=B2 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 16:42:14 2021 Received: (at 42682) by debbugs.gnu.org; 24 Feb 2021 21:42:14 +0000 Received: from localhost ([127.0.0.1]:36101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF1vC-0007yv-Il for submit@debbugs.gnu.org; Wed, 24 Feb 2021 16:42:14 -0500 Received: from smtpo.poczta.interia.pl ([217.74.65.156]:50622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF1v9-0007yf-Vl for 42682@debbugs.gnu.org; Wed, 24 Feb 2021 16:42:13 -0500 X-Interia-R: Interia X-Interia-R-IP: 89.64.63.190 X-Interia-R-Helo: Received: from localhost (89-64-63-190.dynamic.chello.pl [89.64.63.190]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Wed, 24 Feb 2021 22:42:04 +0100 (CET) Date: Wed, 24 Feb 2021 22:41:50 +0100 From: Jan Wielkiewicz To: =?UTF-8?B?Tmljb2zDsg==?= Balzarotti Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. Message-ID: <20210224224150.12ddc261@interia.pl> In-Reply-To: <87sg6a216c.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> <20200805142240.075ac063@interia.pl> <87364yq33y.fsf@gnu.org> <20200807174401.21be8219@interia.pl> <87sg6a216c.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1614202925; bh=+I7KYtOlykVt2bF9QFc/jURf+rhdlIHg6UmqQlGM2J0=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Interia-Antivirus; b=hfSdPO+LQvZWavEHWVnlf4Xvg1Rmf2D3tijZBUt/u/ONdjjFVj2+JYyUKDDrJXDXM RUY1MoXu32rm/AEwf/l2Vc+m31tcD5CROZ1/Elm0iV38qC3A5vp2gSOaR9EDFiu/a/ DpoJquzcQPm+gPzo8fXRGEwPKRstdbH3gCrC6bFE= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42682 Cc: Mathieu Othacehe , 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Dnia 2021-02-05, o godz. 12:39:55 Nicol=C3=B2 Balzarotti napisa=C5=82(a): > Hi Jan, have you been working on this? My new qmk-supported keyboard > is coming and I'd love to be able to flash it with guix. Nope, I'm quite busy studying right now, will resume my work this summer. > I built qmk-firmware in guix (but there are bundled dependencies that > still need to be removed). >=20 > I was planning to use mugur with it, which calls >=20 > make -C source-path keyboard:type >=20 > So, my first idea (which should apply to qmk-cli too) was to patch > this to call guix build --with-source and hopefully get this working, > but I don't know how robust this is (or if it is even going to work). >=20 > (I'll also have to package https://github.com/zsa/wally, but it does > not seem to require qmk-cli) >=20 > Nicol=C3=B2 I totally don't remember what the issue was about. If you have a working package then go ahead. Thanks for info anyway, I'll check it out later. Jan Wielkiewicz From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 17:23:47 2021 Received: (at 42682) by debbugs.gnu.org; 24 Feb 2021 22:23:48 +0000 Received: from localhost ([127.0.0.1]:36117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF2ZP-0000Ud-Kw for submit@debbugs.gnu.org; Wed, 24 Feb 2021 17:23:47 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:45485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lF2ZO-0000UP-BA for 42682@debbugs.gnu.org; Wed, 24 Feb 2021 17:23:46 -0500 Received: by mail-wr1-f48.google.com with SMTP id e10so3145078wro.12 for <42682@debbugs.gnu.org>; Wed, 24 Feb 2021 14:23:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=JhfqjuwEvJGV38MqnQIgz4wDYW3Z0Os4b5lpmvMZeFQ=; b=pW/uEv6xuDQnXyYrJvBrBvNyjXrlJY+vpZZOkblTP+6truptrQlqaZxBH/lupTRKD0 u1dIvPfgJp/aRE1uMl6axOd46kRpjnD2bpWimPFtH3XsmG8LOXlFE4hBlX83ykcbbcL+ UmpPoaulfW9vMcHo0pACNR6ZkgvCPxpMqPlZF7Dr2xLv4PMB4gfXQJK0XnZF6Mj0wRrn 8MUdKR0oHzVIAo7epfd/ZuXQ1qEgxImpT1EIbujsulIeOmcJQ6h4aou55831Fr5QBQL1 VlhlXnGNn7Ml+9i5NrxXpCE7ZceNgpjXC8i99fMNBjii4dt0ZoFQqdjaQtMcf0ey7HQl iB7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=JhfqjuwEvJGV38MqnQIgz4wDYW3Z0Os4b5lpmvMZeFQ=; b=JfQ1J6LJgcUHDLlbwwssjPv7NSmTH0mF8GsJ89QOUSJqwb1egkp9oIDsNTqpLD6lwH VJBZd4sEDX1pQVDkun8o4vQE/uOchJmpezWiTqwQ9qhR6Kl5YLgQRKiUvDx306I/PIkG j+sODsOyr5JwuRDFaEu7ulSymW6t2S5X3dM9WRLYHzgf5NXftmsnkoFBxokthGmCiTVq Sh7PrnDII4h9G3kbOENfBST+Gw6J0j0YQgIsLEL4bFHuKj/cCuj8wANg9xuqHRCojZ7U 3gZ+vdC+faEfw7ikrqh5Re2DugrY4FIA4DBnPX4oIQgpbfNrVp+5pkkQsQA/a3Co3v9z Pydg== X-Gm-Message-State: AOAM532K0YFeby+id6NUo2IUa7cFP6JLGlMGPuz+1mbnz7XxbFmnie+9 t/B9svRXF0xLbtGsA9kKX4BnJrwZM0U= X-Google-Smtp-Source: ABdhPJxL5FcCK/Fic4vd2ctB+Wzx0PW9an8RqG6cHQ21rtEoXz9cB5wnGuSRzczzVNxGFHy+SakKfA== X-Received: by 2002:a05:6000:188c:: with SMTP id a12mr198608wri.105.1614205419694; Wed, 24 Feb 2021 14:23:39 -0800 (PST) Received: from guixSD (host-79-24-3-74.retail.telecomitalia.it. [79.24.3.74]) by smtp.gmail.com with ESMTPSA id q20sm4674464wmc.14.2021.02.24.14.23.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 14:23:38 -0800 (PST) From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti To: Jan Wielkiewicz Subject: Re: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. In-Reply-To: <20210224224150.12ddc261@interia.pl> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> <20200805142240.075ac063@interia.pl> <87364yq33y.fsf@gnu.org> <20200807174401.21be8219@interia.pl> <87sg6a216c.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> <20210224224150.12ddc261@interia.pl> Date: Wed, 24 Feb 2021 23:23:37 +0100 Message-ID: <87sg5l9kba.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42682 Cc: Mathieu Othacehe , 42682@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I totally don't remember what the issue was about. If you have a > working package then go ahead. > Thanks for info anyway, I'll check it out later. Ok, I'll send some patches in the following days :) Thanks, Nicolo' From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 07:30:04 2022 Received: (at 42682) by debbugs.gnu.org; 22 Dec 2022 12:30:04 +0000 Received: from localhost ([127.0.0.1]:58100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Ki3-0007Xx-Js for submit@debbugs.gnu.org; Thu, 22 Dec 2022 07:30:04 -0500 Received: from read.hsdev.com ([209.250.245.235]:42696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Ki1-0007Uf-B7 for 42682@debbugs.gnu.org; Thu, 22 Dec 2022 07:30:02 -0500 Received: from hsdev.com (hawking.hsdev.com [213.125.12.142]) by read.hsdev.com (Postfix) with ESMTPA id 77ED420FCD for <42682@debbugs.gnu.org>; Thu, 22 Dec 2022 13:29:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=van-der-boom.nl; s=202103; t=1671712194; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=6AJXGQlUTcY8zY4ioZZAq8ClkwMgF5ytK0424H1BVSc=; b=ORGRe+75QRkB2JoT7eOLLim8L/+GEz87GutptaUDqLL8H3Hy0D7C/y4GJSfBHpDe5YZvjx ac20PckPQKctIxJ6bfyGsJ77vYvy2hsGwZj4fe6Up7Eu/6ZmCeULmKTgdS7oZ4ZHZGm299 88SYuN13P/2pW2AfdHkiqCLob17K5Mw= Received: from changeme.hsdev.com (localhost [127.0.0.1]) by hsdev.com (Postfix) with ESMTP id 3019136A04F1 for <42682@debbugs.gnu.org>; Thu, 22 Dec 2022 13:29:54 +0100 (CET) User-agent: mu4e 1.9.7; emacs 30.0.50 From: Marcel van der Boom To: 42682@debbugs.gnu.org Subject: [PATCH 0/2] Qmk cli Date: Thu, 22 Dec 2022 13:29:21 +0100 Message-ID: <87sfh7vcxp.fsf@van-der-boom.nl> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.00 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42682 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Is someone still working on this? From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:33 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:33 +0000 Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiD-0004fG-FO for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiA-0004ey-TG for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4493B240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014684; bh=+aOzYBhCJ3QOE4djQEPEXhA39BvEcq0f//x/5XmhR9Y=; h=From:To:Cc:Subject:Date:From; b=hUQTir+DcVZUxnE8TZ0XYObMunp5Sgyvz9f0GNGMV8EOZ/7Kvz4hvZNZDxzjEEfxv W3hfC3ZiAYxfG/3it6Yt4EEIw868i0E9+WT4pSbnka7hgK0iewnee6q6h61BdUt9R/ fNCQiZin3aYwU520PUiUd4LbEb8tw1TgwBz68hTWGCGf7ueBSuQujx5GrW9l5pBg0h V7o6c1CD+DuJoXuq9YH4bfHvSvaE/ixYD9hWSt3i+qynuKElp245ht4MxkYzVR6tCt mz5YRMYfKJ6JUi42b3gM2Cq5/K+cJ8RnOL1AaaNvrtX/IU88GBK9q0RNn+Yly9qN0F atg40LpBO5d/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1R1MNzz6tsg; Sun, 9 Apr 2023 06:31:22 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 0/9] Add qmk-cli Date: Sun, 9 Apr 2023 04:31:07 +0000 Message-Id: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Since it doesn't seem to be any activity on this issue I thought I'll pick up where Jan left off. The cli program has grown quite a bit since the last patch in term of dependencies and is now required for you to be able to build QMK Firmware. I've only tested this with building my firmware for my keyboard: guix shell avr-toolchain dfu-programmer qmk-cli -- qmk flash -kb kyria -km plattfot -bl dfu-split-left It seems to be working fine though as I'm still able to type after that. 🙂 I opted to not propagate any packages (e.g. avr-toolchain, git, dfu-programmer etc) given that it depends on what you are going to use the qmk cli for. And seems better to specify what you need as I've shown above when flashing my keyboard. I also added qmk-udev-rules to be able to use qmk cli without requiring root when flashing. I do get some warnings when running guix lint. Which I haven't figured out how to resolve. > gnu/packages/python-xyz.scm:27517:17: python-dotty-dict@1.3.1: use @code or > similar ornament instead of quotes Not sure what quotes it complains about as the quotes in the description are wrapped in @code and is part of the code snippet. > gnu/packages/python-xyz.scm:17147:15: python-milc@1.6.6: URI > https://milc.clueboard.co/ returned suspiciously small file (337 bytes) The url redirects to https://milc.clueboard.co/1.6, if I switch to that it seems it still redirects. > gnu/packages/hardware.scm:1416:12: qmk-udev-rules@0.20.5: the source file > name should contain the package name Not entirely sure what this mean, as the udev file is in the qmk_firmware repo. Should I just redefine it using file-name in the origin declaration? > gnu/packages/hardware.scm:1415:13: qmk-udev-rules@0.20.5: can be upgraded to 6.1 The latest release for qmk_firmware is 0.20.5, I'm suspecting it is grabbing 6.1 from the planck-6.1 tag. Can I just ignore this one? Fredrik Salomonsson (9): gnu: Add python-hjson. gnu: Add python-log-symbols. gnu: Add python-spinners. gnu: Add python-halo. gnu: Add python-milc. gnu: Add python-dotty-dict. gnu: Add python-hid. gnu: Add qmk-cli. gnu: Add qmk-udev-rules. gnu/packages/hardware.scm | 73 ++++++++++++++ gnu/packages/libusb.scm | 56 +++++++++++ gnu/packages/python-xyz.scm | 193 ++++++++++++++++++++++++++++++++++++ 3 files changed, 322 insertions(+) base-commit: 5481aaacb5f60ba43d8db7e51cb7cc967d5eb55e -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:37 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:37 +0000 Received: from localhost ([127.0.0.1]:60018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiG-0004fW-S7 for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiE-0004f5-Dg for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9C19D240183 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014688; bh=GV+tt2rW4+hheXaantb/W7WspeEbvTmhQoBuauLZy4A=; h=From:To:Cc:Subject:Date:From; b=GwhL2wyiSPyyabRFMPnbTAzhhKWiDYsryVE0BvqnH9G0JbyNX0DWNUxkANmSdg88A aeu6a7Y7/94lpQUMpNhgGuj8Cj5NDLShg8tbNy87SU79KesfLV+RNfKEOnSPQqHJeC 46J/B8ty/QbI8yhD/SKTzxsz16CxJsKEnX6HHZN4fV+kdu3tEtwrAIC/7WZcNap7ZX g2Wh/d2mnFPR9HugadJYHszNvaXrxDrFz/9BmUQMPRRo4hNr0advpX5RBNvw3SrH9D Gnwd2UXUGvnL8bU+6ZUaMZH1xz3dDUe+KNvxR1i9cpSyxB2EWCkZ9qhc54fiCbxMa0 e4KVWCx1vAMKA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1W5xTLz6tsj; Sun, 9 Apr 2023 06:31:27 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 1/9] gnu: Add python-hjson. Date: Sun, 9 Apr 2023 04:31:08 +0000 Message-Id: <20230409043116.13244-2-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-hjson): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bd68d060b5..6ce8aa2072 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -135,6 +135,7 @@ ;;; Copyright © 2023 Gabriel Wicki ;;; Copyright © 2023 Amade Nemes ;;; Copyright © 2023 Bruno Victal +;;; Copyright © 2023 Fredrik Salomonsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -2413,6 +2414,25 @@ (define-public python-humanfriendly helpers.") (license license:expat))) +(define-public python-hjson + (package + (name "python-hjson") + (version "3.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "hjson" version)) + (sha256 + (base32 + "0xfgrnwr6xaqfkaxnzd06sw8zv6dpkbrk0w0kjbag0yg4xd4gbsm")))) + (build-system python-build-system) + (arguments + (list #:tests? #f)) ; no tests + (home-page "https://github.com/hjson/hjson-py") + (synopsis "Hjson, the Human JSON user interface") + (description "This package provides a configuration file format that caters +to humans and helps reduce the errors they make.") + (license license:expat))) + (define-public python-textparser (package (name "python-textparser") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:42 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:42 +0000 Received: from localhost ([127.0.0.1]:60022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiM-0004fq-7i for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiK-0004fP-91 for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B9F6C240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014694; bh=DSypdXjqz+yFtjsvzaWVV3ZKo4WJlylKAWbsT0DMjcE=; h=From:To:Cc:Subject:Date:From; b=VYlnJSqWqW9gUTdwoqTmh/qjCtoWKXolbD5tM352pl8LwQSQE2RtKth5Oh/JYSZF+ fE0JciQEObaQWNFCM6TjqE14EUq0FPip87s2hCNzVMaa0bkdNNGnIL/vkJ7kK8MFSK WkTufoc7EEAPEncn4f2caEZ9mKLxfhh6dgV9j7BsEKm/DMAx9vAgYXSglYUfAgnwJp PUfT2OW524yRbMJsvYD7slC8lo8zGt+7iIMiC2LYkjf/w1Ynf1DM3zI/LPN3Tg/yFm tNrqC0ew1W2pO9TeGWnBVnaWr9aUObL1xS5aXqkkgVqee6MLRkTG9+rGG7nppBhKun TDFXYQEmnuXMQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1f0VNgz6tsg; Sun, 9 Apr 2023 06:31:33 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 2/9] gnu: Add python-log-symbols. Date: Sun, 9 Apr 2023 04:31:09 +0000 Message-Id: <20230409043116.13244-3-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-log-symbols): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ce8aa2072..8b07486130 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15505,6 +15505,37 @@ (define-public python-colorama-for-awscli (sha256 (base32 "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9")))))) +(define-public python-log-symbols + (package + (name "python-log-symbols") + (version "0.0.14") + (source (origin + (method url-fetch) + (uri (pypi-uri "log_symbols" version)) + (sha256 + (base32 + "0mh5d0igw33libfmbsr1ri1p1y644p36nwaa2w6kzrd8w5pvq2yg")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test-requirements + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("requirements-dev.txt") + (("==") ">="))))))) + (native-inputs + (list python-tox + python-nose + python-coverage + python-pylint)) + (propagated-inputs + (list python-colorama)) + (home-page "https://github.com/manrajgrover/py-log-symbols") + (synopsis "Colored symbols for various log levels for Python") + (description "This package provides a Python module that generates colored symbols +for info, success, warning and error log level.") + (license license:expat))) (define-public python-moto (package (name "python-moto") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:46 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:46 +0000 Received: from localhost ([127.0.0.1]:60025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiP-0004g7-J1 for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiN-0004ff-LZ for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:44 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 288CC240183 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014698; bh=dpMMlKSN/RNfEqMhPbTdnemeeQlfRhPMf5YqiEADA0E=; h=From:To:Cc:Subject:Date:From; b=Ifftk/+Y8Ljs6qJe/xSI728IQRoOFl6HqXhyjQpk+PAvs4eua1kka/Ho2vlwn/mqP 1/FmyxSpLPVWHL8MuGPyMTt6VVC//uSn6v0TCfeIsDw9Tl/5piBIxmsM+2AP93Gp4D WTNFWrGJGat5Y+xzWUy0bhT/bfp6hppNROsZ0hX0PH647Hce9UeZ1YZKYyJvl5b46w Al5XoO+7qIJGXcJnvmERawOXsi3lb9Mmv+Lb7MujHkSJJHiTFHC+/zQiPYwdxKUukm y4v4W9OVKKbvnGc2amtd5SxEzlpa6O4wvaFBGwsEzlCN3jImNY7xV7++TsG67pN6zm hlHgX5FkF5HAQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1j3Jmpz6tsj; Sun, 9 Apr 2023 06:31:37 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 3/9] gnu: Add python-spinners. Date: Sun, 9 Apr 2023 04:31:10 +0000 Message-Id: <20230409043116.13244-4-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-spinners): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8b07486130..d77a7324cc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15476,6 +15476,36 @@ (define-public python-progressbar33 ;; Either or both of these licenses may be selected. (license (list license:lgpl2.1+ license:bsd-3)))) +(define-public python-spinners + (package + (name "python-spinners") + (version "0.0.24") + (source (origin + (method url-fetch) + (uri (pypi-uri "spinners" version)) + (sha256 + (base32 + "0zz2z6dpdjdq5z8m8w8dfi8by0ih1zrdq0caxm1anwhxg2saxdhy")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test-requirements + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("requirements-dev.txt") + (("==") ">="))))))) + (native-inputs + (list python-nose + python-coverage + python-tox + python-pylint)) + (home-page "https://github.com/manrajgrover/py-spinners") + (synopsis "Spinners for terminals") + (description "This package provides more than 60 spinners for terminals. Is a +python port of the node library cli-spinners.") + (license license:expat))) + (define-public python-colorama (package (name "python-colorama") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:49 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:49 +0000 Received: from localhost ([127.0.0.1]:60028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiT-0004gN-0S for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:49 -0400 Received: from mout01.posteo.de ([185.67.36.65]:60249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiR-0004fo-5u for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A47A5240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014701; bh=vzMBpY/HmFeTkLQjiJsAoqcCHg1Cs74ahYsgkHhU7C8=; h=From:To:Cc:Subject:Date:From; b=Yn7JIeMCo4yKd8QPp8jKri3eKY0fCel7D0sBvIIeLOiWLIq3TMdS2nGPSZvsjRKdv c8H57HZ0ppSx8HTLcDQIdBR+alQwVRiNYn5sy1Y/C443i1EmrFXG1iav8C2yN9yWBL RbfNYHZQeeRqFZc5QV7gzNXTCIOe9yedHDik+MMZ3xlh7jo9zZqd54SxDAhWqylqIZ Ekm/ws5kDpldrYSwGPM1GLyIr09Ob9P+Xi/UGxeceouxekY5QPmV8jOlnUogeI1O42 HPRC3pC/wN2WxG/aqQkiGNnFzuHGI6PrJTbv+t4eSY6oufltw6Ac+ypaR6Q/3tyHz8 jQ7vX6grELeIw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1m6rTRz6tsg; Sun, 9 Apr 2023 06:31:40 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 4/9] gnu: Add python-halo. Date: Sun, 9 Apr 2023 04:31:11 +0000 Message-Id: <20230409043116.13244-5-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-halo): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d77a7324cc..2e9ab04389 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15566,6 +15566,37 @@ (define-public python-log-symbols (description "This package provides a Python module that generates colored symbols for info, success, warning and error log level.") (license license:expat))) + +(define-public python-halo + (package + (name "python-halo") + (version "0.0.31") + (source (origin + (method url-fetch) + (uri (pypi-uri "halo" version)) + (sha256 + (base32 + "1mn97h370ggbc9vi6x8r6akd5q8i512y6kid2nvm67g93r9a6rvv")))) + (build-system python-build-system) + (native-inputs + (list python-tox + python-nose + python-coverage + python-pylint + python-twine)) + (propagated-inputs + (list python-colorama + python-log-symbols + python-six + python-spinners + python-termcolor)) + (home-page "https://github.com/manrajgrover/halo") + (synopsis "Beautiful terminal spinners in Python") + (description "This package provides a Python module that renders various +fancy looking terminal spinners. The API allow to control color on text +and/or spinner, what animation if text does not fit etc.") + (license license:expat))) + (define-public python-moto (package (name "python-moto") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:56 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:56 +0000 Received: from localhost ([127.0.0.1]:60032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMia-0004gn-B0 for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiU-0004g5-JI for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 14F9F240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014705; bh=llahDju196Ry3hciqAAvPm0UfsIJtFgbRPajIMPYj/Y=; h=From:To:Cc:Subject:Date:From; b=QFF1ijhi+4APhK4ZHWMgO0/04bvIUYGOC5GQWacMhrcgOxltzpIJuuOeTteEE9sj5 S/bX+RfnpRmZJHSwK+ErZfyudUWZZlwEEqJ68AZ7Q0lGT+giOs+eNZY2FnUvoT/5IW PJ/ruK5njFLOmpgP2lhvXBG50I+rz/n6sBrq90k0+kOseh28r7jAPnBPbGYWHWUfxf cUXM4AoNVUucOAyK5Ab9vRhu+6SfCL28HXtS5vSTzGgknLN0qzjFx0Fqu5Jt5aerY2 lVq3+QX51CfQ5FHq+86TT4usDqn4fPIvsDvMu+4t7aBmFmxwSqfoS+dONSyAOZVb1R EmgAheOu2M3wA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1r2wPWz6tsg; Sun, 9 Apr 2023 06:31:44 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 5/9] gnu: Add python-milc. Date: Sun, 9 Apr 2023 04:31:12 +0000 Message-Id: <20230409043116.13244-6-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-milc): New variable. --- gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2e9ab04389..715d531a8d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17126,6 +17126,51 @@ (define-public python-magic the same purpose: to provide Python bindings for libmagic.") (license license:expat))) +(define-public python-milc + (package + (name "python-milc") + (version "1.6.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "milc" version)) + (sha256 + (base32 + "007hdwp659s1wfld92pxdgjz9ijvh949wyf1cbmyzkma30vng8d4")))) + (build-system python-build-system) + (propagated-inputs + (list + python-appdirs + python-argcomplete + python-colorama + python-halo + python-spinners)) + (home-page "https://milc.clueboard.co/") + (synopsis "Opinionated Batteries-Included Python 3 CLI Framework") + (description "MILC is a framework for writing @acronym{CLI, Command Line Interface} +applications in Python 3.6+. It gives you all the features users +expect from a modern CLI tool out of the box: +@itemize @bullet +@item +CLI Argument Parsing, with or without subcommands. +@item +Automatic tab-completion support through argcomplete. +@item +Configuration file which can be overridden by CLI options. +@item +ANSI color support- even on Windows- with colorama. +@item +Logging to stderr and/or a file, with ANSI colors. +@item +Easy method for printing to stdout with ANSI colors +@item +Labeling log output with colored emoji to easily distinguish message types. +@item +Thread safety. +@item +More than 60 built-in spinners with the ability to add your own. +@end itemize") + (license license:expat))) + (define-public s3cmd (package (name "s3cmd") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:31:57 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:31:57 +0000 Received: from localhost ([127.0.0.1]:60034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMia-0004gq-NT for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMiX-0004gM-V7 for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6E3BE240183 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014708; bh=sBmRdC7H9Q0DDbAsx4BfLJ2v4dczwRiIvO7a+ycFEAo=; h=From:To:Cc:Subject:Date:From; b=ptkfLq/hlj38TkSMbicxSAuTrXX3peesOylxMvPWnTMYWjNrnAr1yqe17aqcVeHC/ BvUU6SMT8N+7caUUVOKzJNv0F67GSZqlsmGw9swhPvaawaWl3NwtBYDch1vx619NqP Aqa5ywY0NXt5BUH1DiIhcCXiAfKC1rRlEmzlkNf5QgkcKp/czCi74b/CwkldlzkCce gXg2Qm4qw0ckjYs+omgV1nJhnwCI8GFKCkVmtjnG1+H9AZ9L2B54DqFSL2J8tAvmGr KpMv64iUTm/K+dUBl80RwvD9Y+e/8q8Io1mSw5i2Fko3jZ2TO4Tc9ivfYPrbt6LHCT RyXMxxKixxpnw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1v5QGQz6trm; Sun, 9 Apr 2023 06:31:47 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 6/9] gnu: Add python-dotty-dict. Date: Sun, 9 Apr 2023 04:31:13 +0000 Message-Id: <20230409043116.13244-7-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-dotty-dict): New variable. --- 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 715d531a8d..6207b360c7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27501,6 +27501,42 @@ (define-public python-dictpath accessor layer.") (license license:asl2.0))) +(define-public python-dotty-dict + (package + (name "python-dotty-dict") + (version "1.3.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "dotty_dict" version)) + (sha256 + (base32 + "058sah2nyg44xq5wxywlzc3abzcv9fifnlvsflwma9mfp01nw0ab")))) + (build-system python-build-system) + (home-page "https://github.com/pawelzny/dotty_dict") + (synopsis "Dictionary wrapper for quick access to deeply nested keys") + (description "Has the following features: +@itemize @bullet +@item +Simple wrapper around python dictionary and dict like objects. +@item +Two wrappers with the same dict are considered equal. +@item +Access to deeply nested keys with dot notation: @code{dot['deeply.nested.key']}. +@item +Create, read, update and delete nested keys of any length. +@item +Expose all dictionary methods like @code{.get}, @code{.pop}, @code{.keys} and other. +@item +Access dicts in lists by index @code{dot['parents.0.first_name']}. +@item +key=value caching to speed up lookups and low down memory consumption. +@item +Support for setting value in multidimensional lists. +@item +Support for accessing lists with slices. +@end itemize") + (license license:expat))) + (define-public pyzo (package (name "pyzo") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:32:00 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:32:00 +0000 Received: from localhost ([127.0.0.1]:60037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMie-0004hC-1j for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:32:00 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMib-0004gW-81 for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:31:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B4FAC240183 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014711; bh=Tn49zcHe29//V2i6nzpuV7t8bHWg4NuDrjWL9gheIBQ=; h=From:To:Cc:Subject:Date:From; b=ZUhU4FYqsuXRgQawLUVLjbjONvCa2pDuzL16RkgBqqFyok8eSyOvYJiQAsy//0/zj hYqIFWYGWXa2gbtyQtq5lu7RnaN97qN46krVnxvKm0w/v4t9pMZxF2sJONzVD2jHqh QGt00z/sRjE4xvbI6Zwidggx4SFCKebJtF3en7ZIb2tTGpcbF2GGIc1IyV/TM50aVf lmgWetnISd+G+aZy9Ael+gRTB09wlmbZwVDWMjzvMox+F5bzRwfsxNQBznx6muFQRN CU3Er5SSU0pFBh9iKiK8ZFZzFRcEiKtBvPoE0Wijv4I9JTSO+eGHl4H1S45h/8QzNI BM1mLhaaWeQSw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK1z0MZfz6tx0; Sun, 9 Apr 2023 06:31:50 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 7/9] gnu: Add python-hid. Date: Sun, 9 Apr 2023 04:31:14 +0000 Message-Id: <20230409043116.13244-8-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/libusb.scm (python-hid): New variable. --- gnu/packages/libusb.scm | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index c009c78e88..266ab459a1 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2022 Jacob Hrbek ;;; Copyright © 2023 Sharlatan Hellseher +;;; Copyright © 2023 Fredrik Salomonsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,6 +45,7 @@ (define-module (gnu packages libusb) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (gnu packages autotools) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages gnupg) @@ -54,6 +56,7 @@ (define-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages tls) @@ -650,6 +653,59 @@ (define-public hidapi license:bsd-3 (license:non-copyleft "file://LICENSE-orig.txt"))))) +(define-public python-hid + (package + (name "python-hid") + (version "1.0.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "hid" version)) + (sha256 + (base32 + "1s5hvfbmnlmifswr5514f4xxn5rcd429bdcdqzgwkdxrg9zlx58y")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-library-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("hid/__init__.py") + (("'libhidapi-hidraw.so'") + (string-append + "'" (search-input-file inputs "/lib/libhidapi-hidraw.so") "'")) + (("'libhidapi-libusb.so'") + (string-append + "'" (search-input-file inputs "/lib/libhidapi-libusb.so") "'")) + ;; Nuke the rest of the library_paths + (("[[:blank:]]+'libhidapi-hidraw.so.0',\n") + "") + (("[[:blank:]]+'libhidapi-libusb.so.0',\n") + "") + (("[[:blank:]]+'libhidapi-iohidmanager.so',\n") + "") + (("[[:blank:]]+'libhidapi-iohidmanager.so.0',\n") + "") + (("[[:blank:]]+'libhidapi.dylib',\n") + "") + (("[[:blank:]]+'hidapi.dll',\n") + "") + (("[[:blank:]]+'hidapi-0.dll',\n") + ""))))))) + (native-inputs + (list + python-nose + python-tox)) + (inputs + (list + hidapi)) + (home-page "https://github.com/apmorton/pyhidapi") + (synopsis "Ctypes bindings for hidapi") + (description "This package provides ctypes bindings in Python for the @code{hidapi} +package. Note that this package conflicts with the +@code{python-hidapi} package as they occupy the same Python namespace.") + (license license:expat))) + (define-public python-hidapi (package (name "python-hidapi") -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:32:04 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:32:04 +0000 Received: from localhost ([127.0.0.1]:60044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMih-0004i4-FV for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:32:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMie-0004gl-JA for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:32:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 130D8240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014715; bh=tSL9XHExhD4BvJRASs4t3QV/uHcVLG39EnGvmnHpGx0=; h=From:To:Cc:Subject:Date:From; b=enH2hpfErqjqtv4lPhDsrMVmGdPKNzHVOyzG/LtBJzxaSmlQYZ07B461DKMbQmcq3 KOEZgHI1ZgADZxqI6/IcXnefepp4bzs0U7fIJcd6/2YL/KnojYwi7apohmOQlFpr1o Kzyrc1ckRcqPUEiyTzr3e8xg0NQWoBPLnbhy7MFBbKi+YdymfKTDYvjyCYFnJYcnR0 OvOwhGMpzU66lcuzUToEqZL2UDlzDKPvCYJWEUJU7nZw35KyoT1FXk7kJ70UGNU5UO p1NqqLF0SbeSuQhtW60zVViUIRElqe33S/ZtT5LaGuQ7EWMpd+9z2Nsf2uXDrA5mzA ZFjYLA6y/qDGg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK222nSXz6tw1; Sun, 9 Apr 2023 06:31:54 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 8/9] gnu: Add qmk-cli. Date: Sun, 9 Apr 2023 04:31:15 +0000 Message-Id: <20230409043116.13244-9-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/hardware.scm (qmk-cli): New variable. --- gnu/packages/hardware.scm | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 299d7b96a1..1f8be61ca5 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Efraim Flashner ;;; Copyright © 2023 Spencer Skylar Chan +;;; Copyright © 2023 Fredrik Salomonsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -76,6 +77,8 @@ (define-module (gnu packages hardware) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) @@ -90,10 +93,12 @@ (define-module (gnu packages hardware) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) @@ -1359,3 +1364,47 @@ (define-public libcpuid string, code name and other information from x86 CPU. This library is not to be confused with the @code{cpuid} command line utility from package @code{cpuid}.") (license license:bsd-2)))) + +(define-public qmk-cli + (package + (name "qmk-cli") + (version "1.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "qmk" version)) + (sha256 + (base32 + "1619q9v90740dbg8xpzqlhwcasz42xj737803aiip8qc3a7zhwgq")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; test removed in pypi + (inputs + (list + python-hid + python-hjson + python-jsonschema-next + python-milc + python-pillow + python-pygments + python-pyserial + python-pyusb + python-dotty-dict + python-tox + python-wheel)) + (home-page "https://qmk.fm") + (synopsis "Program to help users work with QMK Firmware") + (description + "This package provides a @acronym{CLI, command line interface} based +program to help users work with QMK Firmware. Where QMK Firmware is +an open firmware for custom keyboards, e.g. Planck, ErgoDox, Corne and +many more. This @acronym{CLI} program is mainly used for building the +QMK firmware, but also has some other convenience utilities. To be +able to build a firmware also include the following packages: +@code{avr-toolchain} and either @code{dfu-programmer} or +@code{avrdude} depending on what microcontroller(s) is/are used for +the keyboard. To be able to clone the QMK Firmware project using +@command{qmk clone} include the @code{git} package. It is highly +recommended to setup udev rules to avoid running this as root when +flashing the firmware, see @code{qmk-udev-rules} and +@code{udev-service-type}.") + (license license:expat))) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 09 00:32:08 2023 Received: (at 42682) by debbugs.gnu.org; 9 Apr 2023 04:32:08 +0000 Received: from localhost ([127.0.0.1]:60052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMim-0004j8-2f for submit@debbugs.gnu.org; Sun, 09 Apr 2023 00:32:08 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plMih-0004h4-Tb for 42682@debbugs.gnu.org; Sun, 09 Apr 2023 00:32:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 62F3F240078 for <42682@debbugs.gnu.org>; Sun, 9 Apr 2023 06:31:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681014718; bh=bnaSWX721vDaIPWVafq3PsgnqzAQsuQx+ODCrklg3AM=; h=From:To:Cc:Subject:Date:From; b=OS1Vf6z6t+SvaCbJhwK8Sl8FaqDBBrIKcmG0923e8IuZaEoewttQQxoKa2GDDZWfl YT3aamZTYnLFIwQWzSIMM8/Y5G9iSFW64YNR31gVzeFzPbxLbTAJK4xeG2HdlbRF5e PnywsrmW/1bDxlNa5NLhz6tCo5ngwN2RUqhQxvWNHr9PsGJs0zwZ8ShgFfBr7XNexf Bv98H+gNkShZpIwAkSBJEXqC314jGA17QzYweSqoSq3TrWm2HLzUY4Fv5WMbBk44y5 5+8IzwPYBdaL69qswk+W3E/tJDe2cG7uXPoYWjJo6Jkg2k61i3fsuhL81CP7ZSEcvX 9P9ipSwOM4+zg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvK254yKDz6trm; Sun, 9 Apr 2023 06:31:57 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v2 9/9] gnu: Add qmk-udev-rules. Date: Sun, 9 Apr 2023 04:31:16 +0000 Message-Id: <20230409043116.13244-10-plattfot@posteo.net> In-Reply-To: <20230409043116.13244-1-plattfot@posteo.net> References: <20230409043116.13244-1-plattfot@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/hardware.scm (qmk-udev-rules): New variable. --- gnu/packages/hardware.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 1f8be61ca5..eab3cf1b21 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1408,3 +1408,27 @@ (define-public qmk-cli flashing the firmware, see @code{qmk-udev-rules} and @code{udev-service-type}.") (license license:expat))) + +(define-public qmk-udev-rules + (package + (name "qmk-udev-rules") + (version "0.20.5") ;; Using qmk_firmware's version + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/qmk/qmk_firmware") + (commit version))) + (sha256 + (base32 + "0v45xvmv351717y2v77fy26ivsnnhsl6ynd7v1pvprpkpf9jk820")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("./util/udev" "lib/udev/rules.d" + #:include-regexp ("rules$"))))) + (home-page "https://github.com/qmk/qmk_firmware") + (synopsis "Udev rules for QMK Firmware") + (description + "This package provides a set of udev rules to specify the proper +privileges for flashing QMK compatible devices without needing root. Require +group @code{plugdev} to be added to each user that needs this.") + (license license:gpl2))) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:26 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:27 +0000 Received: from localhost ([127.0.0.1]:56596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3m-0006oq-L0 for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3k-0006oa-IE for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 034D9240027 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317457; bh=wBLt21BBX5jXHQhIuZojObvCHAU+N+IkcIvcdqM2pAE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=Jm6bY31F32/EvpcG7EPMLbSysjetc4l5uTs7SQCPvdDXSxP2EDUL+Vadaz9NY8FdX jFUzGHwVYqmJqFWOdGDEs1fI9FyqJrBfBaBkLGP8Pe0spmYo5BtSauoXuO6+xdZny8 mgsiBShnjiXWKJ5E4G0Au0ohr/HyxQt/9sWM74M7wcLkbk/Q+SBqrT12M2L/pst6yi 3oZRQbBHEST02KbFSk4ZtVW79Omyf80G5p7mL82X8C2rUajwSMKMgDGVcaXy9OBbhE 7926OM9Ej9sHJoi6BfEHiG3o8N20BBWsR+ygbWmz/dCrK7+rKVDYVqw1eMyBkLXwoM XVWpdx/rd3A4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwH41Jj8z9rxD; Mon, 29 May 2023 01:44:15 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 0/9] Add qmk-cli Date: Sun, 28 May 2023 23:43:58 +0000 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Rebased the patches against the latest changes in master. Mostly resolved conflicts with copyright lines. But did change python-jsonschema-next to python-jsonschema for qmk-cli. Fredrik Salomonsson (9): gnu: Add python-hjson. gnu: Add python-log-symbols. gnu: Add python-spinners. gnu: Add python-halo. gnu: Add python-milc. gnu: Add python-dotty-dict. gnu: Add python-hid. gnu: Add qmk-cli. gnu: Add qmk-udev-rules. gnu/packages/hardware.scm | 71 +++++++++++++ gnu/packages/libusb.scm | 56 +++++++++++ gnu/packages/python-xyz.scm | 193 ++++++++++++++++++++++++++++++++++++ 3 files changed, 320 insertions(+) base-commit: d64d6ea2cf5a1be801be355031fb2cfa5901a92a -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:30 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:30 +0000 Received: from localhost ([127.0.0.1]:56600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3p-0006p6-Sr for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3o-0006of-1e for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 20B72240101 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317462; bh=9YeaIoilcVP+GZs2uSZTg+iRI0zvgoDBz2/hp1uZI9o=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=rHyz8H1oTvhFtZe/dNON8v6VIB6T7+RW89AwEIC1CM9UOwZdAd/bk6CueJ7YkgO1d hMJsKcJUMUlAajxAAVgI2Q98vqej2979Jx69xb5LqEXGOfPBxKsc7pO6rG3+apXU9Z 621vf1z8iFRJfmbrQGXb8TnhMrfSMBJF2nZMCn5+tUo+oD//dfAWv3D0Z0PW3iPhE0 V073Pr4NNkmxndQlP+/N/eIEp2qCfzLR9MhCemA3sgsSfube1j4elVj89nrngBrJwI h0U/hEO9qqhkezcmPFcgOC45jIELRJiQY1W7czBukmor6LSxxm2Kxp4Yu1NKJu3HKM BQ0aa6nsmBI5w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwH91kM0z9rxD; Mon, 29 May 2023 01:44:21 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 1/9] gnu: Add python-hjson. Date: Sun, 28 May 2023 23:43:59 +0000 Message-Id: <35e65b5e4fd47ee0756cfaab537ed9b1e9b52031.1685316748.git.plattfot@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , jgart Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-hjson): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f7e3f6f538..e6fc35eb6c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -137,6 +137,7 @@ ;;; Copyright © 2023 Bruno Victal ;;; Copyright © 2023 Kaelyn Takata ;;; Copyright © 2023 Dominik Delgado Steuter +;;; Copyright © 2023 Fredrik Salomonsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -2594,6 +2595,25 @@ (define-public python-humanfriendly helpers.") (license license:expat))) +(define-public python-hjson + (package + (name "python-hjson") + (version "3.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "hjson" version)) + (sha256 + (base32 + "0xfgrnwr6xaqfkaxnzd06sw8zv6dpkbrk0w0kjbag0yg4xd4gbsm")))) + (build-system python-build-system) + (arguments + (list #:tests? #f)) ; no tests + (home-page "https://github.com/hjson/hjson-py") + (synopsis "Hjson, the Human JSON user interface") + (description "This package provides a configuration file format that caters +to humans and helps reduce the errors they make.") + (license license:expat))) + (define-public python-textparser (package (name "python-textparser") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:36 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:36 +0000 Received: from localhost ([127.0.0.1]:56604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3w-0006pR-8A for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:36 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3t-0006oz-N0 for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 328D8240101 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317468; bh=KIGUlHXwBojOsuyKW3TH+YnwgFBezKLf7esfD0SGIUg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=F0C/yq5Z6y1qMIB29x8qalMao57tAX3/iTsQUAHKV3ElNIzZqniKrdKCMcWUqfESH HtqjdbSjCZNHkBx5sL/YLOOuPTrjsOn7v4pHkySrc1suetbX0HT0wYDmN9QZsSKSGw vAMeEVNrJpWnCxXdCyu0Q2O22yx5P4QXTPZXwfZoDYbqMv6Qx4JtyAty8qhFjgyB31 ByZ+DMQH/3TGkyZFO/TK17LrRzGB1Sp/nMvvehImZAhrIQZ6CpPquekxprHKGrv2Vh DxgUSgqCmw1G1+kEJdTax+0akeBj8m9LfYRvbyvhM3zDoqqDjJla8J7MZBuRRXsNRJ mZEwr9jOAXB9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHH3fQnz9rxB; Mon, 29 May 2023 01:44:27 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 2/9] gnu: Add python-log-symbols. Date: Sun, 28 May 2023 23:44:00 +0000 Message-Id: <995818a7c2554904c0decf0d66e100ddcbfbc402.1685316748.git.plattfot@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-log-symbols): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e6fc35eb6c..f7536b0f20 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16025,6 +16025,37 @@ (define-public python-colorama-for-awscli (sha256 (base32 "189n8hpijy14jfan4ha9f5n06mnl33cxz7ay92wjqgkr639s0vg9")))))) +(define-public python-log-symbols + (package + (name "python-log-symbols") + (version "0.0.14") + (source (origin + (method url-fetch) + (uri (pypi-uri "log_symbols" version)) + (sha256 + (base32 + "0mh5d0igw33libfmbsr1ri1p1y644p36nwaa2w6kzrd8w5pvq2yg")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test-requirements + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("requirements-dev.txt") + (("==") ">="))))))) + (native-inputs + (list python-tox + python-nose + python-coverage + python-pylint)) + (propagated-inputs + (list python-colorama)) + (home-page "https://github.com/manrajgrover/py-log-symbols") + (synopsis "Colored symbols for various log levels for Python") + (description "This package provides a Python module that generates colored symbols +for info, success, warning and error log level.") + (license license:expat))) (define-public python-moto (package (name "python-moto") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:38 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:39 +0000 Received: from localhost ([127.0.0.1]:56608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3y-0006pg-JN for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:38 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q3x-0006pG-9f for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:37 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C25C3240101 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317471; bh=6fbwf55vsWzb7+6/eDXD9qZfs8Uz4ZeKNJ7SRRZ0x48=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=nf3WpCJ8Ydt6aFTSysDB/p9Y5qWF6YDB7GPToO6XdTi59u1GFwIkz4pSQ/B3vU28z 3gBtNNlATz6qCDHMhONaxz0xQm05zYAIKrjeXAPTYjtjb4TChCOUpc0TOowje6yGAP KR6FTzZpZnv9SOnZiLfAnj2Cp3D/Y2fe8phL5mR2bydRGOHFUI+7VmAwvf5n/EMtqP tfj0I/QfoUKa0dI2smrOHz4/omyZ8sQrWMmhbS5asEZwZxg2V2p0MXV7Kk7ABeUFar v/uOwe+Wjoo+//wkvWqIc5wOu84DOFBD3zglAgRoCyyRduGnymGRWguXtMSP/fNvU0 mylEAU7PCf/cA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHM0xklz9rxB; Mon, 29 May 2023 01:44:30 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 3/9] gnu: Add python-spinners. Date: Sun, 28 May 2023 23:44:01 +0000 Message-Id: <51b3ff88d2952f19b46bb6aa98101e9d6f462a5a.1685316748.git.plattfot@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-spinners): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f7536b0f20..75f93f609a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15996,6 +15996,36 @@ (define-public python-progressbar33 ;; Either or both of these licenses may be selected. (license (list license:lgpl2.1+ license:bsd-3)))) +(define-public python-spinners + (package + (name "python-spinners") + (version "0.0.24") + (source (origin + (method url-fetch) + (uri (pypi-uri "spinners" version)) + (sha256 + (base32 + "0zz2z6dpdjdq5z8m8w8dfi8by0ih1zrdq0caxm1anwhxg2saxdhy")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-test-requirements + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("requirements-dev.txt") + (("==") ">="))))))) + (native-inputs + (list python-nose + python-coverage + python-tox + python-pylint)) + (home-page "https://github.com/manrajgrover/py-spinners") + (synopsis "Spinners for terminals") + (description "This package provides more than 60 spinners for terminals. Is a +python port of the node library cli-spinners.") + (license license:expat))) + (define-public python-colorama (package (name "python-colorama") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:43 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:43 +0000 Received: from localhost ([127.0.0.1]:56612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q42-0006q0-UK for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q40-0006pP-PC for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:41 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 41C16240027 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317475; bh=FWo+Br1aL7T79rsrr+66o6nDe1oqDMiixKHqqOBwwJk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=cKRRkIIlCmhuc9YHT9b8WpP/0MEDbvrCk2QZmrsYlQaTfR3SdCJ/1d90E6zLTOsDO kVupGAdShH8MjCS3VXLMEV9pMUFS7OfQM2y59ocUDZpDHmAJEPbSsjU5Qilu0ngG8x XkhIKInvhHdoG96qQwHDqUPejPmflEAimbpXdWjhJtbtYYMXy78lgz/R6s7eugQATv STe1k3eFc4/+BUZaGZR0MRpW+B4lcFDAqgGpg6yHk4ZRcVyHAsPz0GspMcXqnmFTDF sFIBxeivGbi0Hm6zUwJVUhMno007RV5D9HmjYBvhaF3ISzdOCw6pl20IQiVPWg7xH/ sEFXSI1UgjbVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHQ4G99z9rxD; Mon, 29 May 2023 01:44:34 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 4/9] gnu: Add python-halo. Date: Sun, 28 May 2023 23:44:02 +0000 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-halo): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 75f93f609a..5df4e30e83 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16086,6 +16086,37 @@ (define-public python-log-symbols (description "This package provides a Python module that generates colored symbols for info, success, warning and error log level.") (license license:expat))) + +(define-public python-halo + (package + (name "python-halo") + (version "0.0.31") + (source (origin + (method url-fetch) + (uri (pypi-uri "halo" version)) + (sha256 + (base32 + "1mn97h370ggbc9vi6x8r6akd5q8i512y6kid2nvm67g93r9a6rvv")))) + (build-system python-build-system) + (native-inputs + (list python-tox + python-nose + python-coverage + python-pylint + python-twine)) + (propagated-inputs + (list python-colorama + python-log-symbols + python-six + python-spinners + python-termcolor)) + (home-page "https://github.com/manrajgrover/halo") + (synopsis "Beautiful terminal spinners in Python") + (description "This package provides a Python module that renders various +fancy looking terminal spinners. The API allow to control color on text +and/or spinner, what animation if text does not fit etc.") + (license license:expat))) + (define-public python-moto (package (name "python-moto") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:47 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:48 +0000 Received: from localhost ([127.0.0.1]:56616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q47-0006qI-A7 for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q44-0006pm-5k for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A2843240027 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317478; bh=9er+UxVx3kUzAfpvgdzUeBCuO2A3B3DqtmhLdXC+auY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=GZBSp2dk8Ei/hsfIanrDP8syA75S1N9IW56YkkQ4A9Rk0hEOVj5V440ZZEMN4V2TU wvuJq9RuucZiP7mEysOMGyNJ6xVXzMSUtbl5Q2fGmcQUtEVcIFjWIBTiJtQTD1fZ3O APeWSi53LpcdpfUIWHVTDQ/7qdszqP1MTenUjt8+CXkD1V0co8dJ4VODEBI4KGB5jK VqB4rnhdjZvbZ3cw9JMz64y8Ou6DQeHgzSlgwJDX5zWkH4xskkJHW9BaNnDsz+ptiu XCPkdJfSAwfDgBIyv8DuyzPeCmcbNM9hFchX93/TiHMF6/kIltnDoS2ybkwOYwSKkT gQtHCIDt4nR/Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHT75P2z9rxD; Mon, 29 May 2023 01:44:37 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 5/9] gnu: Add python-milc. Date: Sun, 28 May 2023 23:44:03 +0000 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-milc): New variable. --- gnu/packages/python-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5df4e30e83..9b71ba1872 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17685,6 +17685,51 @@ (define-public python-magic the same purpose: to provide Python bindings for libmagic.") (license license:expat))) +(define-public python-milc + (package + (name "python-milc") + (version "1.6.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "milc" version)) + (sha256 + (base32 + "007hdwp659s1wfld92pxdgjz9ijvh949wyf1cbmyzkma30vng8d4")))) + (build-system python-build-system) + (propagated-inputs + (list + python-appdirs + python-argcomplete + python-colorama + python-halo + python-spinners)) + (home-page "https://milc.clueboard.co/") + (synopsis "Opinionated Batteries-Included Python 3 CLI Framework") + (description "MILC is a framework for writing @acronym{CLI, Command Line Interface} +applications in Python 3.6+. It gives you all the features users +expect from a modern CLI tool out of the box: +@itemize @bullet +@item +CLI Argument Parsing, with or without subcommands. +@item +Automatic tab-completion support through argcomplete. +@item +Configuration file which can be overridden by CLI options. +@item +ANSI color support- even on Windows- with colorama. +@item +Logging to stderr and/or a file, with ANSI colors. +@item +Easy method for printing to stdout with ANSI colors +@item +Labeling log output with colored emoji to easily distinguish message types. +@item +Thread safety. +@item +More than 60 built-in spinners with the ability to add your own. +@end itemize") + (license license:expat))) + (define-public s3cmd (package (name "s3cmd") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:52 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:52 +0000 Received: from localhost ([127.0.0.1]:56622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4B-0006qZ-Tv for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:52 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q47-0006pw-JQ for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 10CB4240027 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317482; bh=yRvqK9Upelz/s4qzpI3XIMGZhw64TuhXeddyjpY/z+4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=RbZVyk9cgQfRzEHg8Q01gstCw+76+BBNzd9dwcM8JXXqjFBYxmQ9r7rqGLPvcUFBZ 8NlJXrA4WJ3Ck2knEBFdF73TkIg2qBhbEuJD7nD1X2IosjxTYMJp3Bs2cLh4hh5sMB SadusMzEtiurHv5vycmg8x5dzpHU7MuJqJ7Z/KngR7mp/hRGQVr4t/RuIPfj7DK47o f7PPni1rq/kNS6/dGFGh1Bp9lHCPdF3B30VFemn2DzdpX9tYYyOH9/aERAfrma4WTT dg9OlLDEGWLj8yi3+wEhraZdQ3ZTOXKvbeJJZjkszVxPIQLsQKejRtI4KuwMzPQ9o8 VK+M12wHibo/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHY2v1fz9rxD; Mon, 29 May 2023 01:44:41 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 6/9] gnu: Add python-dotty-dict. Date: Sun, 28 May 2023 23:44:04 +0000 Message-Id: <329d49c7d235ed6e3130ff6b251dffa7ee91779c.1685316748.git.plattfot@posteo.net> In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Lars-Dominik Braun , jgart Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-dotty-dict): New variable. --- 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 9b71ba1872..947e33176c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28145,6 +28145,42 @@ (define-public python-dictpath accessor layer.") (license license:asl2.0))) +(define-public python-dotty-dict + (package + (name "python-dotty-dict") + (version "1.3.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "dotty_dict" version)) + (sha256 + (base32 + "058sah2nyg44xq5wxywlzc3abzcv9fifnlvsflwma9mfp01nw0ab")))) + (build-system python-build-system) + (home-page "https://github.com/pawelzny/dotty_dict") + (synopsis "Dictionary wrapper for quick access to deeply nested keys") + (description "Has the following features: +@itemize @bullet +@item +Simple wrapper around python dictionary and dict like objects. +@item +Two wrappers with the same dict are considered equal. +@item +Access to deeply nested keys with dot notation: @code{dot['deeply.nested.key']}. +@item +Create, read, update and delete nested keys of any length. +@item +Expose all dictionary methods like @code{.get}, @code{.pop}, @code{.keys} and other. +@item +Access dicts in lists by index @code{dot['parents.0.first_name']}. +@item +key=value caching to speed up lookups and low down memory consumption. +@item +Support for setting value in multidimensional lists. +@item +Support for accessing lists with slices. +@end itemize") + (license license:expat))) + (define-public pyzo (package (name "pyzo") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:56 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:56 +0000 Received: from localhost ([127.0.0.1]:56626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4G-0006qy-CD for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4B-0006qF-0B for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7A134240101 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317485; bh=QWMH0DiCqqUXF682zK6sTpyPQ8wxv2fVG8eLHryyT5U=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=aPvvqRx6toMgxoAYjtbzCyAQzNbPmOg1obi218HEIZ2l0c4UJy2gkmxvj1hu3byEq g3Jwedxc41qX+Bb8uRqSTqnkH9U9O/PqouQSAJMF62exxf1E9po9jBdpPvGUt3Xvkh zCZ7FwmpTFZlv4NqLYVSxlc/S4VByP14Yrtwue4kRIe2ahOeCZTa5kLYKOEOFg4e9N WuUfFV03OkhU37kzIWyv6r2Ln5iCLXiPwxI+38VskRMirse2k3csKfoiO/HLFlzwc2 Z+j/FtEfxERnt0qYzoVQQfPIS4yu8Y8tfmnOR0GoUACXgRlXbw/LHzoE8ebzUYkIzX 12yBQB8yTEQrA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHc5zktz9rxF; Mon, 29 May 2023 01:44:44 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 7/9] gnu: Add python-hid. Date: Sun, 28 May 2023 23:44:05 +0000 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/libusb.scm (python-hid): New variable. --- gnu/packages/libusb.scm | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index d0837c8a91..8e81b0c1a9 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2022 Jacob Hrbek ;;; Copyright © 2023 Sharlatan Hellseher +;;; Copyright © 2023 Fredrik Salomonsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,6 +45,7 @@ (define-module (gnu packages libusb) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (gnu packages autotools) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) #:use-module (gnu packages gnupg) @@ -54,6 +56,7 @@ (define-module (gnu packages libusb) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages tls) @@ -650,6 +653,59 @@ (define-public hidapi license:bsd-3 (license:non-copyleft "file://LICENSE-orig.txt"))))) +(define-public python-hid + (package + (name "python-hid") + (version "1.0.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "hid" version)) + (sha256 + (base32 + "1s5hvfbmnlmifswr5514f4xxn5rcd429bdcdqzgwkdxrg9zlx58y")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-library-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("hid/__init__.py") + (("'libhidapi-hidraw.so'") + (string-append + "'" (search-input-file inputs "/lib/libhidapi-hidraw.so") "'")) + (("'libhidapi-libusb.so'") + (string-append + "'" (search-input-file inputs "/lib/libhidapi-libusb.so") "'")) + ;; Nuke the rest of the library_paths + (("[[:blank:]]+'libhidapi-hidraw.so.0',\n") + "") + (("[[:blank:]]+'libhidapi-libusb.so.0',\n") + "") + (("[[:blank:]]+'libhidapi-iohidmanager.so',\n") + "") + (("[[:blank:]]+'libhidapi-iohidmanager.so.0',\n") + "") + (("[[:blank:]]+'libhidapi.dylib',\n") + "") + (("[[:blank:]]+'hidapi.dll',\n") + "") + (("[[:blank:]]+'hidapi-0.dll',\n") + ""))))))) + (native-inputs + (list + python-nose + python-tox)) + (inputs + (list + hidapi)) + (home-page "https://github.com/apmorton/pyhidapi") + (synopsis "Ctypes bindings for hidapi") + (description "This package provides ctypes bindings in Python for the @code{hidapi} +package. Note that this package conflicts with the +@code{python-hidapi} package as they occupy the same Python namespace.") + (license license:expat))) + (define-public python-hidapi (package (name "python-hidapi") -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:44:57 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:44:57 +0000 Received: from localhost ([127.0.0.1]:56628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4G-0006r1-P6 for submit@debbugs.gnu.org; Sun, 28 May 2023 19:44:57 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4E-0006qV-9T for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C117A240101 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317488; bh=Ihbw1AqBzKCErF2hQ893X2bOJAWeFwBb/TTApevu7Zw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=M70SkQuGG+yfBIxZKdTf8vyBYfGMM7OdflNMcDu80Auhfoqduofm6JSHbYFVvDWWU 0NpuXqjDVSpO1Dr4x4uF0X4ZGl6D9eWRsOo6S0Xv6duyob+IK6SDiuHgUUuU8wyYvc NJpGVrhvexW6Hz7BBRppBFZvs9WVIbISG44O5RDHGoIMbmHwn/xuvYUtzWtBtyDsck YthfBct3Z/Evspb6Gkc77wsG+KLoM1iEf2TLJNe1hP7moltv0Z/RM/EzMZgmRjUd8w M+VNRDz+YkAo73QjyE3v2PxmqV++I7Dzm3rO5qrwocgX+B4NFp0WOT2X4h74VXZ3sS 7gxUpqwQ04e2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHh0w88z9rxD; Mon, 29 May 2023 01:44:47 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 8/9] gnu: Add qmk-cli. Date: Sun, 28 May 2023 23:44:06 +0000 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/hardware.scm (qmk-cli): New variable. --- gnu/packages/hardware.scm | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index c23299d1db..ebf5f47e1a 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Efraim Flashner ;;; Copyright © 2023 Spencer Skylar Chan +;;; Copyright © 2023 Fredrik Salomonsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -79,6 +80,8 @@ (define-module (gnu packages hardware) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) @@ -94,10 +97,12 @@ (define-module (gnu packages hardware) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system perl) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) @@ -1438,3 +1443,45 @@ (define-public lxi-tools on the LXI Consortium standard which defines the communication protocols for modern instrumentation and data acquision systems using Ethernet.") (license license:bsd-3))) + +(define-public qmk-cli + (package + (name "qmk-cli") + (version "1.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "qmk" version)) + (sha256 + (base32 + "1619q9v90740dbg8xpzqlhwcasz42xj737803aiip8qc3a7zhwgq")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; test removed in pypi + (inputs + (list + python-hid + python-hjson + python-jsonschema + python-milc + python-pillow + python-pygments + python-pyserial + python-pyusb + python-dotty-dict + python-tox + python-wheel)) + (home-page "https://qmk.fm") + (synopsis "Program to help users work with QMK Firmware") + (description + "This package provides a @acronym{CLI, command line interface} based +program to help users work with QMK Firmware. Where QMK Firmware is an open +firmware for custom keyboards, e.g. Planck, ErgoDox, Corne and many more. +This @acronym{CLI} program is mainly used for building the QMK firmware, but +also has some other convenience utilities. To be able to build a firmware +also include the following packages: @code{avr-toolchain} and either +@code{dfu-programmer} or @code{avrdude} depending on what microcontroller(s) +is/are used for the keyboard. To be able to clone the QMK Firmware project +using @command{qmk clone} include the @code{git} package. It is highly +recommended to setup udev rules to avoid running this as root when flashing +the firmware, see @code{qmk-udev-rules} and @code{udev-service-type}.") + (license license:expat))) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 19:45:03 2023 Received: (at 42682) by debbugs.gnu.org; 28 May 2023 23:45:04 +0000 Received: from localhost ([127.0.0.1]:56633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4N-0006s1-9C for submit@debbugs.gnu.org; Sun, 28 May 2023 19:45:03 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45075) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3Q4H-0006qf-Gz for 42682@debbugs.gnu.org; Sun, 28 May 2023 19:44:57 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 03ABA240101 for <42682@debbugs.gnu.org>; Mon, 29 May 2023 01:44:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685317492; bh=dyV1e5QYFel8NvFbphCQhmxHbxtNCUbG9QR9D1rXcio=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=e05YNF17jPVQVQY2Wh1exjT9ko1w8Se9qdbW2d9PQc+y2wHbf9DNm6kPof8RaJY1q ePQ/MjYot9phnkB6CsGgTgEAMVmzk8Eqk45TME70cvZKZDRSIy3WL5EmL/MFDMtYgk WzTEKctB5VGzSzT7lfE8fTffA2mKATwl1MkZXlzLulI+/Vlg7TUuKAqhyOmgl/PpYI IgEq+lG1WItjEo9pfSiE05Vop/4hujQseStprxZjs0/wgJ6rf8mkpIKCCUAEZrazYb bWD3ZMq3DyHHj7rVKdZe1XJH/I1U3LmwHonCH/iDi8TxU6STkTwtl0d1zzzYfbFF0c AXH1zNnXKBVow== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QTwHl2XK2z9rxD; Mon, 29 May 2023 01:44:51 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 9/9] gnu: Add qmk-udev-rules. Date: Sun, 28 May 2023 23:44:07 +0000 Message-Id: <33c172384ca04fe6ec1685c5c924301424160852.1685316748.git.plattfot@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 Cc: Fredrik Salomonsson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/hardware.scm (qmk-udev-rules): New variable. --- gnu/packages/hardware.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index ebf5f47e1a..e01eb320f2 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1485,3 +1485,27 @@ (define-public qmk-cli recommended to setup udev rules to avoid running this as root when flashing the firmware, see @code{qmk-udev-rules} and @code{udev-service-type}.") (license license:expat))) + +(define-public qmk-udev-rules + (package + (name "qmk-udev-rules") + (version "0.20.5") ;; Using qmk_firmware's version + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/qmk/qmk_firmware") + (commit version))) + (sha256 + (base32 + "0v45xvmv351717y2v77fy26ivsnnhsl6ynd7v1pvprpkpf9jk820")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("./util/udev" "lib/udev/rules.d" + #:include-regexp ("rules$"))))) + (home-page "https://github.com/qmk/qmk_firmware") + (synopsis "Udev rules for QMK Firmware") + (description + "This package provides a set of udev rules to specify the proper +privileges for flashing QMK compatible devices without needing root. Require +group @code{plugdev} to be added to each user that needs this.") + (license license:gpl2))) -- 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 18 20:34:32 2023 Received: (at 42682) by debbugs.gnu.org; 19 Aug 2023 00:34:32 +0000 Received: from localhost ([127.0.0.1]:49043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX9vD-0004kv-Rx for submit@debbugs.gnu.org; Fri, 18 Aug 2023 20:34:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX9vB-0004kg-2q for 42682@debbugs.gnu.org; Fri, 18 Aug 2023 20:34:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E387D240101 for <42682@debbugs.gnu.org>; Sat, 19 Aug 2023 02:34:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692405261; bh=M/QQvOTO5fERlPb0vVwfuCeTDdXT39B+UjOkBDzkOKg=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=aHgeweb/5d7qZ4tWzJWmnsHU1m94ANwNcyuXmLqOf0W3Lv9zVq88WeFZstTVeNHAa MGZfNQY1tOPlRc7J//X5ncvlQ7Hfm9eZHzj/irt0ifAwO0n6355fnCnCUjlHAB4hyi txYDGHAAuO9diFEc+11nCuguGvfoFEu2R8Q35vtKUVarkt1mku7GogIYiX18VODQyb KLy7dL8am8qQvgDV607xmuNFDeGFaYdCMpGRU/aWKJEwUbP0Y381dPkGxHCupO8Mm7 SAiA95YY9tfWuxwoxx7xHsV/0DnOZKppR3dq7cymnuXQU9yWnHfrKZAt4jSHpiy8+C EUzbxwvRlOHdw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RSKW127lMz9rxB for <42682@debbugs.gnu.org>; Sat, 19 Aug 2023 02:34:21 +0200 (CEST) From: Fredrik Salomonsson To: 42682@debbugs.gnu.org Subject: [PATCH v3 0/9] Add qmk-cli Date: Sat, 19 Aug 2023 00:34:18 +0000 Message-ID: <87sf8fq391.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42682 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Pinging this to see if there is anyone that can take a look at the patches. I got it in my personal channel right now and I've flashed three keyboards with this and it works fine. E.g. guix shell avr-toolchain dfu-programmer qmk-cli -- qmk flash -kb kyria -km plattfot -bl dfu-split-left thanks -- s/Fred[re]+i[ck]+/Fredrik/g From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 01:24:04 2023 Received: (at 42682) by debbugs.gnu.org; 2 Sep 2023 05:24:04 +0000 Received: from localhost ([127.0.0.1]:34902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcJ76-0003Ug-9B for submit@debbugs.gnu.org; Sat, 02 Sep 2023 01:24:04 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:34362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcJ74-0003UB-2Y for 42682@debbugs.gnu.org; Sat, 02 Sep 2023 01:24:03 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 17FB51AA7B; Fri, 1 Sep 2023 22:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1693632223; bh=JMGWeeF4F4fLkZb+UhX+cMsMMEIyAZvTt5MeCPK9efo=; h=From:To:Subject:In-Reply-To:References:Date:From; b=nhi3GOd9iycc1Et3iqamNVQjMRLJzBfnIvafIXI315KDnvFbuRR6pxlb/sIp5dILm mY1YhTJmR6jrqtb1nxv6i/fG+UzvLIxNHh9Ln597tUlbnvLm1khXLCo1cWeE3tZzME mSV/bPNm6eYD/4QGmEi0LoT8NAp/iJIqq/jJR3N5itfVCUojoG90aYyv076dsfql/I VkKekOmkvk5zZXcBtxfe/7KhKVIFmRGKaOi9uoDeJMmpYW5gI6iQB9G+FmmupLglgp gD/DNPgYq5r7Ms6zZ370w+I4+4F9vBz9wLLsKgUEFB1Ja9/wAaoRR8E4Qs0QDIAPfN zVZhtxtTMkVZA== From: Vagrant Cascadian To: Fredrik Salomonsson , 42682@debbugs.gnu.org Subject: Re: [bug#42682] [PATCH v3 0/9] Add qmk-cli In-Reply-To: <87sf8fq391.fsf@posteo.net> References: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> <87sf8fq391.fsf@posteo.net> Date: Fri, 01 Sep 2023 22:23:39 -0700 Message-ID: <87msy5no6c.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42682 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain retitle 42682 add qmk udev rules thanks On 2023-08-19, Fredrik Salomonsson wrote: > Pinging this to see if there is anyone that can take a look at the > patches. I got it in my personal channel right now and I've flashed > three keyboards with this and it works fine. Most of the packages are now included from another patch series: 74d72046bdc1ed6c859565570d0db58d20c9ddd7 gnu: Add qmk. 7c2fa3e8479401b020001dc26edb5c748877d1ca gnu: Add python-milc. a8f881d9b354ed46058477ae807cc601060bed1e gnu: Add python-dotty-dict. b3cee1c7e86601bae6dbd3beed566ecefa25f626 gnu: Add python-hjson. a012881e158cca32d9e167e8364796b84ff349b0 gnu: Add python-halo. 3080d0d8d714dd066970bd0a4b684150dcdbe67b gnu: Add python-log-symbols. d98bc6094120fa26d0de6af5cc16bc7644076f7c gnu: Add python-spinners. 2da454d2033d95f108c26ac0018cf73b18823d43 gnu: Add python-hid. The main outstanding one at a quick glance seems to be the udev rules, if that is still needed... I have retitled the bug accordingly. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZPLG2wAKCRDcUY/If5cW qtDtAQCz/qS0/y/3vuF2pXGmHlnKHd2c+/BfeL2Zhu6LI521JQD/SH8LdgY9/rxj USWPITlc8PTZX1p06gXwwFAr95frLgI= =XmFT -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 09 23:57:15 2023 Received: (at 42682-done) by debbugs.gnu.org; 10 Oct 2023 03:57:15 +0000 Received: from localhost ([127.0.0.1]:33757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq3ru-0002W3-Uw for submit@debbugs.gnu.org; Mon, 09 Oct 2023 23:57:15 -0400 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]:44495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qq3rq-0002Vm-MQ for 42682-done@debbugs.gnu.org; Mon, 09 Oct 2023 23:57:13 -0400 Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-419c8911049so35560911cf.1 for <42682-done@debbugs.gnu.org>; Mon, 09 Oct 2023 20:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696910204; x=1697515004; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=KbFYTk10yb9sJKFaEGGgIhPt6/w9PPO5D43OuRIgzBY=; b=GOFUyejOCfdQZtoXK6//VOD/eltlxYv+JHck6/mFYx/oX4Es6EjTJ81E90ljcqnK2s 2hVhiFXwMB1FkMeMVRdPpnj7q+Hi/yJwDK4wwYZQWL51MBmDcaf1fnaY1DC2zPgGHJZ0 6uLIteg5fbT3cf23J+KkoW1dzo3bZunHhNJgRGxOOwS//fkgu/4Y9E2CaNVsjFIsA34S NQg8UR5B0KWtpTDlbYsBeg3GEGlu02Kvucr+HbCIEzRM+RBS70roLSQpvgq0vTKQEyNz QCaYYJZX815vFAbl+V+OwQsfmViReIafJrzvZYz/Xw0f0RVbGFCQqeLCinVGckgV+o7T idFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696910204; x=1697515004; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KbFYTk10yb9sJKFaEGGgIhPt6/w9PPO5D43OuRIgzBY=; b=gNmFRM8FLC6oHYdepL4bPt2vS0pK/5eHEKgZuDbKVkB2URd0jMMRHw/nKVQad6pc5J JZYg80r5FBf+erBtR7ehxeOPSmLWBizi/r7R20qCZkE5wRdBnxq/5tq6lvEYcvUqUrf9 LvO6jOrjzk0Mekveg+4rzXj5Tdupmea041aftwzuo5pvt6GNz2uFHhgFbDhBpm4XmIhb 7YNBqekLH0vBPzJCAryvv2h8crOt/pcnmveBgbyGCWGG5apyOiWW43GB56jZU74GXvQK RXGfPP1iEOLRNmt2YAXsqs+tD38ZgKmFQQ7uY46tbbCiJyY1jgNdWY7HkJjfq/DA1JeQ MGkA== X-Gm-Message-State: AOJu0Ywzj/R7jl4hgKE2eAdyGpEoO+8Qr73/WVEVAId46xuR4Ls8+EM6 pDSpdMlchFDx/jB2TMoTGyNxvQjo/Qxgiw== X-Google-Smtp-Source: AGHT+IElPAVIFs9S5A6mYCP5uKc7Wa25j/pSkA5wMitaKnvdYR2SryvYZa1cYDou5XvsFcJl9qZtTw== X-Received: by 2002:a05:622a:355:b0:413:825:8f36 with SMTP id r21-20020a05622a035500b0041308258f36mr22362733qtw.26.1696910203884; Mon, 09 Oct 2023 20:56:43 -0700 (PDT) Received: from hurd (dsl-10-149-16.b2b2c.ca. [72.10.149.16]) by smtp.gmail.com with ESMTPSA id v2-20020ac873c2000000b00419576c7b75sm4131095qtp.23.2023.10.09.20.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 20:56:43 -0700 (PDT) From: Maxim Cournoyer To: Vagrant Cascadian Subject: Re: [bug#42682] [PATCH v3 0/9] Add qmk-cli In-Reply-To: <87msy5no6c.fsf@wireframe> (Vagrant Cascadian's message of "Fri, 01 Sep 2023 22:23:39 -0700") References: <20200802204208.14992-1-tona_kosmicznego_smiecia@interia.pl> <87sf8fq391.fsf@posteo.net> <87msy5no6c.fsf@wireframe> Date: Mon, 09 Oct 2023 23:56:42 -0400 Message-ID: <87pm1n5dvp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42682-done Cc: Fredrik Salomonsson , 42682-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Vagrant Cascadian writes: > retitle 42682 add qmk udev rules > thanks > > On 2023-08-19, Fredrik Salomonsson wrote: >> Pinging this to see if there is anyone that can take a look at the >> patches. I got it in my personal channel right now and I've flashed >> three keyboards with this and it works fine. > > Most of the packages are now included from another patch series: > > > 74d72046bdc1ed6c859565570d0db58d20c9ddd7 gnu: Add qmk. > 7c2fa3e8479401b020001dc26edb5c748877d1ca gnu: Add python-milc. > a8f881d9b354ed46058477ae807cc601060bed1e gnu: Add python-dotty-dict. > b3cee1c7e86601bae6dbd3beed566ecefa25f626 gnu: Add python-hjson. > a012881e158cca32d9e167e8364796b84ff349b0 gnu: Add python-halo. > 3080d0d8d714dd066970bd0a4b684150dcdbe67b gnu: Add python-log-symbols. > d98bc6094120fa26d0de6af5cc16bc7644076f7c gnu: Add python-spinners. > 2da454d2033d95f108c26ac0018cf73b18823d43 gnu: Add python-hid. > > The main outstanding one at a quick glance seems to be the udev > rules, if that is still needed... I have retitled the bug accordingly. I've salvaged the missing parts, adjusted them and pushed along the qmk-firmware series I had prepared in bug#66217. Closing! -- Thanks, Maxim From unknown Mon Aug 18 18:13:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 07 Nov 2023 12:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator