From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UIH/AZ7nc2SsSQAASxT56A (envelope-from ) for ; Mon, 29 May 2023 01:45:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CPIJAZ7nc2SdbwAAG6o9tA (envelope-from ) for ; Mon, 29 May 2023 01:45:34 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CBEC718705 for ; Mon, 29 May 2023 01:45:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3Q4S-0005D0-QH; Sun, 28 May 2023 19:45:08 -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 1q3Q4R-0005CG-07 for guix-patches@gnu.org; Sun, 28 May 2023 19:45:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3Q4Q-0004dt-OS for guix-patches@gnu.org; Sun, 28 May 2023 19:45:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3Q4Q-0006tD-JN for guix-patches@gnu.org; Sun, 28 May 2023 19:45:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42682] [PATCH v3 9/9] gnu: Add qmk-udev-rules. Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 May 2023 23:45:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42682@debbugs.gnu.org Cc: Fredrik Salomonsson Received: via spool by 42682-submit@debbugs.gnu.org id=B42682.168531750426424 (code B ref 42682); Sun, 28 May 2023 23:45:06 +0000 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 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-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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685317533; a=rsa-sha256; cv=none; b=Ncta6h4Ej4fjjV/Iy+UPsVV1knz9IFUz9+9Xs5ASI7BFLLicxqmEzqOi55rpbV6dSwGrmQ TR3IRv4kaI1p/6X1xe4NwmCOrUi6wxMsAjvJ+W+eaRZSu+hx1Jx8zilR06Y2Y5yeZ6RCof SC+sPq13WLlWPM7Tlsusy7gzlWjbTk/KLNe+6/Gm6wGqDISzxGgaVigKdcCT5Q2sOyOrTs l7F2CS6PYxz2grHjo0E5VUiomWRxmm9Qas7xfuBGhksJ1j2lxCLEKDZsQq1x0SlJZG0Kjl AkGGl8QZgThpnoba3wju3ZgxFzbgXRhAXWx7VVxhumGihPPs3KBb8vLfENNVcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=e05YNF17; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685317533; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RU5u1ADD8BxnOxhOGDOk98nQjDUX/Xh9Oz0pihHW7Lw=; b=Xmr+XrYLQx5co3Al87IoMHaGIzqxctmFfeEQo9oWZeBHB8Tr/JTt65IahA+s7OmiaYOYVZ GURsxFswDyFYMREqxdrM74Uv6XDaLND3yDzaZQaZ+Ogd+BBCfiY0oK/zOQorMlsQmXgiuq TmtqikLakxMQgLv4qDG0GR9IXcoJBfuF0kvHxcDxfKCirUu8c3a47NOXdhH+LEQ5DuN9v/ F808rp1xj0sQjjot0nZ340FCMCSfFdIhakH2jmkr/vf5dSAhBikbslLVzfTYoUT9OHLlyZ jLaeKQy43bG3nyO370xw2k9tDE7TyOmEdpjB+f0bFGtIiUchQLv/NT2qQjaMwg== X-Migadu-Spam-Score: 1.49 X-Spam-Score: 1.49 X-Migadu-Queue-Id: CBEC718705 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=e05YNF17; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: Zj7L++tg2HI1 * 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