guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add joycond.


From: guix-commits
Subject: branch master updated: gnu: Add joycond.
Date: Fri, 08 Oct 2021 06:13:08 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f44d7f6  gnu: Add joycond.
f44d7f6 is described below

commit f44d7f68e6939a805a12725aa7c8fad43bf22b99
Author: phodina via Guix-patches via <guix-patches@gnu.org>
AuthorDate: Tue Oct 5 22:08:46 2021 +0000

    gnu: Add joycond.
    
    * gnu/packages/games.scm (joycond): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5549441..44558b88 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1490,6 +1490,44 @@ automata.  The following features are available:
 @end enumerate")
     (license license:gpl2+)))
 
+(define-public joycond
+  (let ((commit "f9a66914622514c13997c2bf7ec20fa98e9dfc1d")
+        (revision "1"))
+    (package
+      (name "joycond")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/DanielOgorchock/joycond";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "07z86yp27vxc0b44jgvf1vpa69rh3wdvd1xbzcsrj3f32743pv5a"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f                    ;no test suite
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-bin-location
+             (lambda* _
+               (substitute* "CMakeLists.txt"
+                 (("/lib/udev/rules.d") (string-append %output 
"/lib/udev/rules.d"))
+                 (("/etc/systemd/system") (string-append %output 
"/etc/systemd/system"))
+                 (("/etc/modules-load.d") (string-append %output 
"/etc/modules-load.d"))
+                 (("/usr/bin") (string-append %output "/bin"))))))))
+      (native-inputs `(("pkg-config" ,pkg-config)))
+      (inputs
+       `(("eudev" ,eudev)
+         ("libevdev" ,libevdev)))
+      (home-page "https://github.com/DanielOgorchock/joycond";)
+      (synopsis "Joy-Con controller daemon")
+      (description "This package provides a userspace daemon for the Nintendo
+Joy-Con controllers.")
+      (license license:gpl3))))
+
 (define-public julius
   (package
     (name "julius")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]