From patchwork Wed Aug 31 16:44:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Smith X-Patchwork-Id: 42092 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 B94F927BBEA; Wed, 31 Aug 2022 17:46:26 +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,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable 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 4161727BBE9 for ; Wed, 31 Aug 2022 17:46:26 +0100 (BST) Received: from localhost ([::1]:57852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTQrB-0005lg-Bn for patchwork@mira.cbaines.net; Wed, 31 Aug 2022 12:46:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTQqp-0005j9-HB for guix-patches@gnu.org; Wed, 31 Aug 2022 12:46:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTQqo-0005mW-V1 for guix-patches@gnu.org; Wed, 31 Aug 2022 12:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTQqo-0001pV-GF for guix-patches@gnu.org; Wed, 31 Aug 2022 12:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57495] [PATCH v2] gnu: Add steam-devices-udev-rules. References: In-Reply-To: Resent-From: Morgan.J.Smith@outlook.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 31 Aug 2022 16:46: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: 57495@debbugs.gnu.org Cc: john.kehayias@protonmail.com, Morgan Smith , maximedevos@telenet.be Received: via spool by 57495-submit@debbugs.gnu.org id=B57495.16619643426997 (code B ref 57495); Wed, 31 Aug 2022 16:46:02 +0000 Received: (at 57495) by debbugs.gnu.org; 31 Aug 2022 16:45:42 +0000 Received: from localhost ([127.0.0.1]:40344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTQqT-0001on-Kt for submit@debbugs.gnu.org; Wed, 31 Aug 2022 12:45:41 -0400 Received: from mail-bn8nam11olkn2010.outbound.protection.outlook.com ([40.92.20.10]:29216 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTQqR-0001ob-RI for 57495@debbugs.gnu.org; Wed, 31 Aug 2022 12:45:40 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PCkwItcS6YBiZb+vIDCUkBvKGsKMNED2cK+XEuHlWnQHjVGLY/AdY1EbT+BkkBxFBkn2FFJXvn23/s46oT6kmvvHBdh7YTYnm6/1Dn7oxcAC6XZeaOaobnUTpwckhASAZDMJKtxcyU4/6q73WXqHV8Ugir9m530uxXMQL7jNSsbJdejqb2dy0yZSBwIQPFbvsQVCsyzRQ9eH3QdBaBAM/vfZPB9KaCjO/95EBqmqEnOk0Fg1OIi6cnsbq3cJ1gDvL6Tm4EGKqXs01fZVOSjFSzjFAugadLRWzWB6E2obHaPDI6ZVr4SHWRF+XMaDz6SmMx5jkgdiBCbVaRBdxZwDvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3Qo9NiMmyujHWCaTfM/wd8w4wxfF9DINzwSUHEnWvhc=; b=a4uSY+5hsQAC2Xg53qE7pBmr3VF+wVOSPD2Jh7vGGQfU2cp8+537Uv6Ztw/K/gt7jtfYVOkq0V79h6WCH72am/2gjA5gRmi39vX/P0X/CD5SkBmb8sTe+0mMqsnFjZ6w1j2X1qtU7aNCA4D/pm1kgAB60W5hNlkkwWpIY0SpLRvteZfjg8Gc0DA/UqKPwimymg0Q3FGDLpyTQl0RUr1NbUj7BGc1coGzyACr+xjjaofKUJnsdBr2KJdM9DaLG6LycdJSfn/p1ICjCwrMPdBf+zaW0AGkKLR20Vu2FvnyP+xtOjyJkkQDWFuNm1V6TIA+Kp/ImonQBbdTKGaKOSU+iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3Qo9NiMmyujHWCaTfM/wd8w4wxfF9DINzwSUHEnWvhc=; b=HRMWMQMP8hux1yLDHKfpZ1Vyw3lFqwcRBEHf9nKdX2ViQmcQrYpu4REKhZdMnBQ0ceqLLnfE8Yk8QWU4W5tyKpH/VhhpyMcI2uph4gDqfOxzbIWvjcB+OG7sX9SXyO+GSzRwBtZSBycNmfxuag3CG9052EZWHpD1+A/4FC8wFbdNp/6ylHuhisC1asuiz4tRX4mpBv4pTIcVOxF7AT1L/c+oy788Gj74YXTx05aSZ67bJUQFowGfjHiHc2tuiVfy3aBq0kfjzyMBoNiRNxQtBswIdB0CEk7H9d0m0paPaAO3UOnRAUEgGjLf6bpkvqztUq0y/YXyVg6YUfPp+vCcEQ== Received: from DM5PR03MB3163.namprd03.prod.outlook.com (2603:10b6:4:40::24) by MW4PR03MB6588.namprd03.prod.outlook.com (2603:10b6:303:12b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Wed, 31 Aug 2022 16:45:33 +0000 Received: from DM5PR03MB3163.namprd03.prod.outlook.com ([fe80::1cf8:e25b:a93b:ffac]) by DM5PR03MB3163.namprd03.prod.outlook.com ([fe80::1cf8:e25b:a93b:ffac%6]) with mapi id 15.20.5566.021; Wed, 31 Aug 2022 16:45:33 +0000 From: Morgan.J.Smith@outlook.com Date: Wed, 31 Aug 2022 12:44:22 -0400 Message-ID: X-Mailer: git-send-email 2.37.2 X-TMN: [ShcFNBvOGYJir377oG67mp5L/8vj02ij] X-ClientProxiedBy: YT3PR01CA0134.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:83::29) To DM5PR03MB3163.namprd03.prod.outlook.com (2603:10b6:4:40::24) X-Microsoft-Original-Message-ID: <20220831164422.7066-1-Morgan.J.Smith@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5aa643c6-12a8-4a74-11a3-08da8b7038be X-MS-Exchange-SLBlob-MailProps: PHS9e/w+tWIsmUY6Is2517Rw5PboXlLWvxUKOvbZQwCcEDJO5P0lse8W1A7PIXzMmSQV8+LsP6yNhk6eegFIiHHgfbgMFE9A97sjtovkT+g12q6KatEk2JPscc3pRqERHjNqHPnx7iO14RZKaJO5QXCz81j+X5AOCaKgolCAXqbnIdM2gSGpiyNRHKTg2yB0H+PPaieVoJqPUvXG6z3MYisEo+qy3zb2JTqngAwhHiSHsAnhJQ9eq5HpiDU68fiqQukwPqsnuImXPY/EsLF3fXZ3XYm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Yg1K6Dl6CDCoDozVzp7iMv+bVA55XzGwkI3nAltuZYR53zRswJ2pTVubpdN0eTo4PXQy/+AYDblfstnRALRRPKx/dR3F6/ELrVuf90yH3Vj3g+3p+AOvCuEox2FdhTNRCZyHaty6CU7iGmZztNoA0D3dxNSEekgBfGS38Eo2O57fICduOHHaQz1J5FSgxV9M5PnlBaSEAM1GmgCWCgyQ6MAnfSgVjR9ocTwTV8QAkjSGDyf4CsJdpONaOgf08WDER5FbADhTNiAU+YO2J+9tP+WU59WUz3dPjGkkZyiUL4Z0SQT6R8wCotsHDlifXbNKME2p/IFkAYFbwI7LQNVFVV8BiaVvXPj9aHRW4FZsHuCeSNL4vT/1jQk0cpIVNZ2CM= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5aa643c6-12a8-4a74-11a3-08da8b7038be X-MS-Exchange-CrossTenant-AuthSource: DM5PR03MB3163.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2022 16:45:33.4518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR03MB6588 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Morgan Smith * gnu/packages/games.scm (steam-devices-udev-rules): New variable. --- I've incorporated both of your suggestions into the following patch gnu/packages/games.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index fe66343a4c..98e5389903 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12591,3 +12591,38 @@ (define-public freerct Should they go unwise, a theme park plunge into chaos with vandalizing guests and unsafe rides. Which path will you take?") (license license:gpl2))) + +(define-public steam-devices-udev-rules + ;; Last release from 2019-04-10 + (let ((commit "d87ef558408c5e7a1a793d738db4c9dc2cb5f8fa") + (revision "0")) + (package + (name "steam-devices-udev-rules") + (version (git-version "1.0.0.61" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ValveSoftware/steam-devices") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yqigraz9f19018ma5n2pbx7naadh9960lia3z8ayg7vz1fjdl54")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("./" "lib/udev/rules.d" + #:include-regexp ("rules$"))) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "60-steam-input.rules" + (("/bin/sh") + (search-input-file inputs "/bin/sh")) + (("udevadm") + (search-input-file inputs "/bin/udevadm")))))))) + (inputs (list eudev)) + (home-page "https://github.com/ValveSoftware/steam-devices") + (synopsis "udev rules for game controllers and virtual reality devices") + (description + "Provides a set of udev rules for game controllers and virtual reality devices.") + (license license:expat))))