mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: joycond: Update to 0.1.0-2.9d1f509, use gexps and fix license.
* gnu/packages/games.scm (joycond): Update to 0.1.0-2.9d1f509. [phases]: Use gexps. [license]: Correct to gpl3+. Change-Id: I81824de94d168e63e0434149805708cb1e8b8a54
This commit is contained in:
parent
1d07e429d9
commit
ecda7d3ef7
1 changed files with 19 additions and 21 deletions
|
@ -1762,8 +1762,8 @@ (define-public golly
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public joycond
|
(define-public joycond
|
||||||
(let ((commit "f9a66914622514c13997c2bf7ec20fa98e9dfc1d")
|
(let ((commit "9d1f5098b716681d087cca695ad714218a18d4e8")
|
||||||
(revision "1"))
|
(revision "2"))
|
||||||
(package
|
(package
|
||||||
(name "joycond")
|
(name "joycond")
|
||||||
(version (git-version "0.1.0" revision commit))
|
(version (git-version "0.1.0" revision commit))
|
||||||
|
@ -1775,32 +1775,30 @@ (define-public joycond
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "07z86yp27vxc0b44jgvf1vpa69rh3wdvd1xbzcsrj3f32743pv5a"))))
|
(base32 "089qh20si3mwj945wjhg0nbain9cn49vwh2zqab6ws2cl0938gid"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no test suite
|
(list #:tests? #f ;no test suite
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-bin-location
|
(add-after 'unpack 'fix-bin-location
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(substitute* "CMakeLists.txt"
|
||||||
(substitute* "CMakeLists.txt"
|
(("/lib/udev/rules.d")
|
||||||
(("/lib/udev/rules.d")
|
(string-append #$output "/lib/udev/rules.d"))
|
||||||
(string-append out "/lib/udev/rules.d"))
|
(("/etc/systemd/system")
|
||||||
(("/etc/systemd/system")
|
(string-append #$output "/etc/systemd/system"))
|
||||||
(string-append out "/etc/systemd/system"))
|
(("/etc/modules-load.d")
|
||||||
(("/etc/modules-load.d")
|
(string-append #$output "/etc/modules-load.d"))
|
||||||
(string-append out "/etc/modules-load.d"))
|
(("/usr/bin")
|
||||||
(("/usr/bin")
|
(string-append #$output "/bin"))))))))
|
||||||
(string-append out "/bin")))))))))
|
|
||||||
(native-inputs (list pkg-config))
|
(native-inputs (list pkg-config))
|
||||||
(inputs
|
(inputs (list eudev libevdev))
|
||||||
(list eudev libevdev))
|
|
||||||
(home-page "https://github.com/DanielOgorchock/joycond")
|
(home-page "https://github.com/DanielOgorchock/joycond")
|
||||||
(synopsis "Joy-Con controller daemon")
|
(synopsis "Joy-Con controller daemon")
|
||||||
(description "This package provides a userspace daemon for the Nintendo
|
(description "This package provides a userspace daemon for the Nintendo
|
||||||
Joy-Con controllers.")
|
Joy-Con controllers.")
|
||||||
(license license:gpl3))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public julius
|
(define-public julius
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue