From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WOEYNRZAMmTNSAAASxT56A (envelope-from ) for ; Sun, 09 Apr 2023 06:33:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EDz3NBZAMmTOKgEAauVa8A (envelope-from ) for ; Sun, 09 Apr 2023 06:33:26 +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 B5CA43C51D for ; Sun, 9 Apr 2023 06:33:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plMjy-0007F6-7l; Sun, 09 Apr 2023 00:33:22 -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 1plMje-00074f-2A for guix-patches@gnu.org; Sun, 09 Apr 2023 00:33:02 -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 1plMjd-0000M7-Os for guix-patches@gnu.org; Sun, 09 Apr 2023 00:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plMjd-0004kD-Js for guix-patches@gnu.org; Sun, 09 Apr 2023 00:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42682] [PATCH v2 9/9] gnu: Add qmk-udev-rules. Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Apr 2023 04:33:01 +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.168101472818178 (code B ref 42682); Sun, 09 Apr 2023 04:33:01 +0000 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 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-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=1681014806; a=rsa-sha256; cv=none; b=n+rmcROwJLgvzXUOdgka/h5I4x8xJCmWy32zldUhlLLJJVYth43zaWn6EXZbJLjS2P0KVy 7cl6UZ1U7M+HlHC0ZBOl6KgqW7gpWD0x2UnZbLz/aqGC0Apul3WmyT4G/fjpnltEWjd4bf 0cuLGTneZ/6KJHt7cnqZkXost08ImyXgeB9xuQWxsk5cKUKwFwz6VYjUh4rPfOytVJQzl6 a1w4bnn5o1HRk51qErpJQL6rDmsWqXbgWiwT3VeAAVybaBlviwFCSt3D7rGoZURYtIhR8d YlvUn5Pc7NInZocUlXrnSzfwjKRO3EaazppyyGeDY7gB9T771pbpOZ2e3JTXqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OS1Vf6z6; 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=1681014806; 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=bVutUHcRKxWH9guFlatSMgxeeoORn3wz5JJAAMRU05A=; b=DLhktes2xPv+wjzJ9PFAodiPrxo9U94ZxJbH9kufUJ4NLgPFn+Y5LzR+Gu7XJKNKc6PrAL n/2LMrAZXUS/iA0q9i4lo8mNrS4A0Xf7a3fkU/4IVpKKPsjt0DCL3RA2me7JyG6IRYjai5 uVy5wb6uzmwJ7P8uOO2amraS+/200JpAmSrkZILfrnzSt8f4q9fVc+R3X0Ef8MkJvlWSiy w5GjA9ATrCuKgL3xeU21vOt7OvrVL3WRAFbCDtlbV+XlHMVMKf/RNSKQk/hYt8YjY1gOAw 71tycxRllBDxJBTHtWgddIHm6i6FFcJBnZ5OtTlKAGPxn2kJTOHNtFzs8VjVLA== X-Migadu-Spam-Score: 8.58 X-Spam-Score: 8.58 X-Migadu-Queue-Id: B5CA43C51D X-Migadu-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OS1Vf6z6; 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-Migadu-Scanner: scn1.migadu.com X-Spam: Yes X-TUID: a0kGx6llJF1H * 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