From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EANBC1WrDmOwewEAbAwnHQ (envelope-from ) for ; Wed, 31 Aug 2022 02:29:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8KMuC1WrDmO3EwEAauVa8A (envelope-from ) for ; Wed, 31 Aug 2022 02:29:09 +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 D046AF8C1 for ; Wed, 31 Aug 2022 02:29:08 +0200 (CEST) Received: from localhost ([::1]:34782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTBbP-0004VC-GC for larch@yhetil.org; Tue, 30 Aug 2022 20:29:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTBbK-0004Ut-R8 for guix-patches@gnu.org; Tue, 30 Aug 2022 20:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTBbK-00016N-J3 for guix-patches@gnu.org; Tue, 30 Aug 2022 20:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTBbK-000556-A0 for guix-patches@gnu.org; Tue, 30 Aug 2022 20:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57495] [PATCH] gnu: Add steam-devices-udev-rules. References: In-Reply-To: Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Aug 2022 00:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57495 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Morgan.J.Smith@outlook.com Cc: 57495@debbugs.gnu.org Received: via spool by 57495-submit@debbugs.gnu.org id=B57495.166190569419476 (code B ref 57495); Wed, 31 Aug 2022 00:29:02 +0000 Received: (at 57495) by debbugs.gnu.org; 31 Aug 2022 00:28:14 +0000 Received: from localhost ([127.0.0.1]:37714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTBaX-000544-Mz for submit@debbugs.gnu.org; Tue, 30 Aug 2022 20:28:14 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:61653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTBaW-00053o-3a for 57495@debbugs.gnu.org; Tue, 30 Aug 2022 20:28:12 -0400 Date: Wed, 31 Aug 2022 00:27:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661905685; x=1662164885; bh=DJbgVhZB1Jr1AtPeKqc69ZD+/pxVilyyidIcZ2KKcPk=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=mKb8Fpu9uya8Kgw2Li4eOVv5DA1WViL9Du++de+1MD8qMzAi4KYgQxm2QHx1cw9Tk kzn/zPJtMlIR7owg6ih0i29rRr8wAm8XlTOD7HXncIz7kZTzwGmv0xTVh3dhAI1S7X 3MV/BgbWcomkWxVtA5KjOjXVmqzdxio+0u8qlJWN7MfbPjqw45bwKU0TN7iq1r1eT+ YN7UtXErsva3V91vyZm4rAUjQq0wV5Bx29n3ws8WURW4+ulsEgHIT27Uc9Xb/qlqLW X4Bp5WZi8PicbMJzFxtJtkkaH84ZxxA5RC6CyRlLlp5esSJxsjMogcDp6fJCeg2JMp 7WeEyBedSeNSw== Message-ID: <87tu5tntob.fsf@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661905748; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=DJbgVhZB1Jr1AtPeKqc69ZD+/pxVilyyidIcZ2KKcPk=; b=B0b7McC/u8/Mk09jBXcBILSLaotELVTMctb/4LnT7Jtb/7a/5hqLs3t0vnyF9XsXymvLG9 UWkpLFdxfqmd7FkAnu00hmN+85Y+D9cADyOgmY7ZOe6f0a0LQ2upYeq0PID/ShiYQdQUvp FrMhM5EmAyVyEknUy1IOsj5JfYyzj4ozY1WAsbOy/FE0JEM57wxegHnhSrYleg9wQKtyWC abdG8sqPBeytTMXqEIUw5lbkGcPiJFtr6oynZ5XgBnelVx+ty86ILmEKY+fdMQjOrD7mzP muYZ+gDxPKSegkouBYrtJB+N1n9vuZC2PagNKQkg72T8VWh88DrXwkG3J/emTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661905748; a=rsa-sha256; cv=none; b=a4uD1IM6k3TQEY5wuG4HtDqFHujlt2rexn9wDqrwzQayAQSyCDQ1SJfcerFqd48sp0rTFe a9kDMSzuMzZcHs3JNB8M7PrY7ZPEV2ZUTXenCo/Sd+GtCaZDDOZ/hOI8nYFBjuObIGo4d7 XjNxglGKj/6aSjwOyIzntz9+KfKSIGr7giOhAmLV1H9Yox+gUnKlsiFs2MVLrNJS6b0ZZL EPI5+vGViQIBW/b15UjmmSc4DE/rEX1a6lAYbu0O9SuCmI2y2Ay6v2iI+CKPYYac6Izxhv hpNIcTPkqdLPkY+Tt7g9LSL5dOaBtCAP8DPQUvY3RisCx397Z1y3laALZYdI9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=mKb8Fpu9; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -1.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=mKb8Fpu9; dmarc=pass (policy=none) header.from=gnu.org; 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-Queue-Id: D046AF8C1 X-Spam-Score: -1.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: /ViaTD3xfLnt Hello, Thanks for submitting this here! I've been grabbing these files directly in my system configuration to use the udev rules and never got around to making a proper package. Overall LGTM (but did not try out this package), with one minor comment: On Tue, Aug 30, 2022 at 03:01 PM, Morgan wrote: > * gnu/packages/games.scm (steam-devices-udev-rules): New variable. > --- > gnu/packages/games.scm | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index fe66343a4c..f8c6b86cf7 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -12591,3 +12591,26 @@ (define-public freerct > Should they go unwise, a theme park plunge into chaos with vandalizing g= uests > and unsafe rides. Which path will you take?") > (license license:gpl2))) > + > +(define-public steam-devices-udev-rules > + (package > + (name "steam-devices-udev-rules") > + (version "1.0.0.61") This tag is from 3 years ago now. While this is the latest tag/release, there have been commits more recently than that. Considering these will mostly be for adding/tweaking hardware rule, personally I would like this to reflect the most recent commit to be the most useful. This is from a year ago now, so it seems the timeline for a release is probably "Valve time" (aka I'm not holding my breath). What do you think? > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/ValveSoftware/steam-devices= ") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1m4zcrz83p41lz7wxzqc62fsx00rfrai996psfjv7vjvjlyqj0mx"))= )) > + (build-system copy-build-system) > + (arguments > + '(#:install-plan '(("./" "lib/udev/rules.d" > + #:include-regexp ("rules$"))))) > + (home-page "https://github.com/ValveSoftware/steam-devices") > + (synopsis "udev rules for game controllers and virtual reality devic= es") > + (description > + "Provides a set of udev rules for game controllers and virtual real= ity devices.") > + (license license:expat))) Thanks! John