From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wMgIFAd4IWHzQwAAgWs5BA (envelope-from ) for ; Sun, 22 Aug 2021 00:02:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UPbWDwd4IWGgZQAA1q6Kng (envelope-from ) for ; Sat, 21 Aug 2021 22:02:47 +0000 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 1D2699AE8 for ; Sun, 22 Aug 2021 00:02:47 +0200 (CEST) Received: from localhost ([::1]:57316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHZ4g-0005wA-5G for larch@yhetil.org; Sat, 21 Aug 2021 18:02:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHZ3z-0005v6-4l for guix-patches@gnu.org; Sat, 21 Aug 2021 18:02:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHZ3y-0002Qk-Lm for guix-patches@gnu.org; Sat, 21 Aug 2021 18:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHZ3y-0000Yw-Gq for guix-patches@gnu.org; Sat, 21 Aug 2021 18:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50157] [PATCH] gnu: Add xpadneo. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Aug 2021 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50157 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50157@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16295832942116 (code B ref -1); Sat, 21 Aug 2021 22:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Aug 2021 22:01:34 +0000 Received: from localhost ([127.0.0.1]:37972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHZ3W-0000Y3-7F for submit@debbugs.gnu.org; Sat, 21 Aug 2021 18:01:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:60508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHZ3U-0000Xw-A4 for submit@debbugs.gnu.org; Sat, 21 Aug 2021 18:01:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHZ3U-0005jc-2E for guix-patches@gnu.org; Sat, 21 Aug 2021 18:01:32 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:28907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHZ3Q-0001tL-I0 for guix-patches@gnu.org; Sat, 21 Aug 2021 18:01:31 -0400 Received: from localhost.localdomain (62-47-226-13.adsl.highway.telekom.at [62.47.226.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4GsXWx5Mp3z3xX9 for ; Sun, 22 Aug 2021 00:01:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1629583277; bh=KkJQDS0Y0YbPY4IiLf5BSkXLNea8vIcGT4uaxjo+9ao=; h=From:To:Subject:Date; b=s0XNaPG2QtAlg3kB5NMLCXRJFGJXgMTkg6Ud9Gbs/17R9rx0sU2CqD0a02g4Y8oxu Q9snKsKAxagteHJyPJl7yZy0JamhhNCb6ZbSEXh3xh6QId/+OvDxN5xgnS7mCFJaBF XMKqODQpQNKhZq/W9y34ashqfNJLB7wiFP2FsvPY= From: Leo Prikler Date: Sun, 22 Aug 2021 00:00:53 +0200 Message-Id: <20210821220053.31441-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629583367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=C0/mF4CWN2CmPyc01N5p3zXwQRCh8wvN34dQeZrJJno=; b=jCvTIwuwTxBZwH9cRQTLw0BczTdN/CHVcjAhDi+c1xaWUMlVPeY3f05mdlzhF43n80Qi1x oiENf5HQwdfS1rDUUMVf5STrLfPPB7jllVdwx4V4OKG3tIJ7tG879u2qw8d1gdTdFlBCpF mEzTy/TVSKfwQ3DEnuq1tZQhPJ4DSKTZ8mnejl7QMoaDdWc+UHm4v32PYdb1fY5/I/2ehF x+XyiUROpS/Uwd9Hw3TCJjSI4qInftd8bx3+2Fb3EKDR7udJ0yUD9IMjgQ3eDXMoItaNNP iRTs3qHPgE/XGH3GEH3azDm29YBBcozI2mxVsa+zk0XNRMYxynKVZJrJWS/+qA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629583367; a=rsa-sha256; cv=none; b=a0fjujCKaI7wU7W8P/95/cD0yFYZZgJsjqSPvSPBJzFTcMxlgExzNOSurkpc3cEHRvivLY V9olbiJ0T4IMoanmJeQ6qrGjsgiRXoTT7RJvaYuefIDkMKzPMtE6BjTQdvpxuN1b+LRMTW U90ZkMOiz5km+bseVxHPGlLWPpzRhegyqlt5eP6j+WdeW2RoxTVtv+7wRmGSKb8XJqxOyu OPtq5A4bkHDpEBxXpVsos47DLs9qsztcl/BD2KhQIgT+nHewI4mnyJ07u3Li8eA9HhB4Kg bIlrSU1n0qfmVwDCveEFvMqE/Y6Mhi5NM7Qu3aLRCl9eqXP13fjY6YBvM+wYDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tugraz.at header.s=mailrelay header.b=s0XNaPG2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tugraz.at header.s=mailrelay header.b=s0XNaPG2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1D2699AE8 X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: PAuXj1LotIJ6 * gnu/packages/linux.scm (xpadneo): New variable. --- gnu/packages/linux.scm | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7b92be4b9c..385cdd558b 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1505,6 +1505,58 @@ allows some more serious things like adding streaming capabilities to an application by hooking GStreamer into the loopback device.") (license license:gpl2+))) +(define-public xpadneo + (package + (name "xpadneo") + (version "0.9.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atar-axis/xpadneo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0xr0zx134s56h4ij6c3fh8ki0h58h61minbfxcl3sgpgxkh14ism")))) + (build-system linux-module-build-system) + (arguments + `(#:tests? #f ; no `check' target + #:modules (((guix build copy-build-system) #:prefix copy:) + (guix build linux-module-build-system) + (guix build utils)) + #:imported-modules + ((guix build copy-build-system) + ,@%linux-module-build-system-modules) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda args + (with-directory-excursion "hid-xpadneo/src" + (apply (assoc-ref %standard-phases 'configure) args)))) + (replace 'build + (lambda args + (with-directory-excursion "hid-xpadneo/src" + (apply (assoc-ref %standard-phases 'build) args)))) + (replace 'install + (lambda args + (with-directory-excursion "hid-xpadneo/src" + (apply (assoc-ref %standard-phases 'install) args)))) + (add-after 'install 'post-install + (lambda* (#:key outputs #:allow-other-keys #:rest args) + (apply (assoc-ref copy:%standard-phases 'install) + #:install-plan + '(("hid-xpadneo/etc-modprobe.d" "etc/modprobe.d") + ("hid-xpadneo/etc-udev-rules.d" "etc/udev/rules.d")) + args)))))) + (home-page "https://atar-axis.github.io/xpadneo/") + (synopsis "Xbox One Wireless Controller driver") + (description + "This package provides a driver for the XBox One S Wireless controller +and some newer models when connected via bluetooth. In addition to the kernel +module provided itself, it also contains a modprobe configuration and udev +rules, which need to be installed separately.") + (license license:gpl3+))) + ;;; ;;; Pluggable authentication modules (PAM). -- 2.33.0