From patchwork Thu Jul 27 12:57:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 15284 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8158F27BBE9; Thu, 27 Jul 2023 14:12:47 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3AF5C27BBE2 for ; Thu, 27 Jul 2023 14:12:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qP0aG-0000Zk-PY; Thu, 27 Jul 2023 08:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qP0aA-0000Xf-8H for guix-patches@gnu.org; Thu, 27 Jul 2023 08:59:07 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qP0a8-0003TN-1F for guix-patches@gnu.org; Thu, 27 Jul 2023 08:59:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qP0a7-0003D8-Tx for guix-patches@gnu.org; Thu, 27 Jul 2023 08:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64896] [PATCH 8/8] gnu: Add qmk. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Jul 2023 12:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64896 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64896@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 64896-submit@debbugs.gnu.org id=B64896.169046269412246 (code B ref 64896); Thu, 27 Jul 2023 12:59:03 +0000 Received: (at 64896) by debbugs.gnu.org; 27 Jul 2023 12:58:14 +0000 Received: from localhost ([127.0.0.1]:40915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP0ZK-0003BM-D5 for submit@debbugs.gnu.org; Thu, 27 Jul 2023 08:58:14 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qP0ZI-0003AL-3k for 64896@debbugs.gnu.org; Thu, 27 Jul 2023 08:58:12 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3141fa31c2bso926912f8f.2 for <64896@debbugs.gnu.org>; Thu, 27 Jul 2023 05:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1690462686; x=1691067486; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PtC3TA8rlNPGcMWMZJoh6AW1XwA6qBX2+O00AJusQSM=; b=NmFkdz5KvM0q83juegewqhdv8kNMhEzaEz0f/uryolRm/AEBFnxSzPHeMOC3JyH0ip w6x3SPffFDhvG1I7+ZqoRIiWQcUY+fwpqYo5/LamParVAFGU1hA5mSy2NSuT0kthIZN+ tYqOn/LNt22VkBukN8xILSLdObQQTSQfLfAROBHdC3gTqPWL24WdclSN764RCmfRjaWO T3xJlPcfeLc7D7+cNXNekj4bMuyZK5Oh4HbjgcO86YD8Si9jObHmBYgr42DIVsfafR83 sLh8lulyfUPnzrTkJp/nz3D/6F/wP63S6luisqC3Dusmm0Bj1eEsEzpDjnPVtN9TP7DV UJtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690462686; x=1691067486; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PtC3TA8rlNPGcMWMZJoh6AW1XwA6qBX2+O00AJusQSM=; b=BQKP/rYqpLFrJBxZI9gfgKm0/8tc7OMkkiMxezVptD+6xgmBNAGk42MSPxHWZhaia/ Eh+GNVw1Nm1c8gYBcEOCkhcp+fP4nW0vn83H7CBzg3cesfzbGJI8TyNYCm5jjlgeP//r rv3oPgrHT6FDQ8y3pGdKhoOOcaLhOzpaYFndVTeLYScrti82hlvaaKoUmhqod7mWkiyt GBReZbrPTe6Puun41u8HWYL+YBPFwGbLsqRNxHeHtzgtKcPgk5toUCzKRLGN1RJJX39T f8w+4XHTIqzsGUdj44vtOiNWw7bhZ18Hac7pVH3UZg7vSgZDfNS983NWsKfAem1zekzS YBxQ== X-Gm-Message-State: ABy/qLYMbpfbw693s+xkhHiWdKDQ/LuCFuzahpO/sDG70tD1+fbVBmbO rTprwFlV9W+cdLOR8VHgHZL2CYpJRKExdmKb4ewFKg== X-Google-Smtp-Source: APBJJlFRuLLKkD6N8lHzGc/Tlax84j855tzdvLg2uc9zdSvEjgBcTKE+tVK4RV5GlLlc0IZlFSrElw== X-Received: by 2002:adf:f6c5:0:b0:314:133a:f04 with SMTP id y5-20020adff6c5000000b00314133a0f04mr1685301wrp.49.1690462686289; Thu, 27 Jul 2023 05:58:06 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id v15-20020a5d4a4f000000b003143b7449ffsm2049800wrs.25.2023.07.27.05.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 05:58:06 -0700 (PDT) Date: Thu, 27 Jul 2023 14:57:41 +0200 Message-Id: <20230727125741.8766-8-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230727125741.8766-1-jean@foundationdevices.com> References: <20230727125741.8766-1-jean@foundationdevices.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/firmware.scm (qmk): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/firmware.scm | 26 ++++++++++++++++++++++++++ gnu/packages/hardware.scm | 1 + 2 files changed, 27 insertions(+) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 35d3100ac6..82fb9c582f 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2020, 2021, 2022 Marius Bakke ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2022, 2023 Maxim Cournoyer +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -34,6 +35,8 @@ (define-module (gnu packages firmware) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) + #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -68,6 +71,7 @@ (define-module (gnu packages firmware) #:use-module (gnu packages polkit) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) #:use-module (gnu packages shells) #:use-module (gnu packages sqlite) @@ -1215,3 +1219,25 @@ (define-public crust-pinebook (define-public crust-pine64-plus (make-crust-package "pine64_plus")) + +(define-public qmk + (package + (name "qmk") + (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)) ;; No tests. + (propagated-inputs (list python-dotty-dict python-hid python-hjson + python-jsonschema python-milc python-pillow + python-pygments python-pyserial python-pyusb + python-setuptools)) + (home-page "https://qmk.fm") + (synopsis "Command line utility to manage QMK keyboard firmwares") + (description "This package provides a program to help users work with +@acronym{QMK, Quantum Mechanical Keyboard} firmwares.") + (license license:expat))) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index ed000d7fbd..f8978d1ee5 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -80,6 +80,7 @@ (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-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt)