Created
December 1, 2019 11:02
-
-
Save jyscao/f91cea54a03e03ce8653c2bd1b0165c2 to your computer and use it in GitHub Desktop.
package definition for love-nuklear
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (love-nuklear) | |
#:use-module (guix packages) | |
#:use-module (guix download) | |
#:use-module (guix build-system cmake) | |
#:use-module (guix licenses) | |
#:use-module (guix git-download) | |
#:use-module (gnu packages lua)) | |
(define-public love-nuklear | |
(let ((commit "0cca218ac72f71c39130277dac1a6d1c9aceef69") | |
(revision "0")) | |
(package | |
(name "love-nuklear") | |
(version (git-version "v2.6" revision commit)) | |
(source (origin | |
(method git-fetch) | |
(uri (git-reference | |
(url "https://github.com/keharriso/love-nuklear/") | |
(commit commit) | |
(recursive? #t))) | |
(file-name (git-file-name name version)) | |
(sha256 | |
(base32 "0qidw091n1780kbxj2ddjpic6l24p7b16bk1b4xyqha1swfn7w32")))) | |
(build-system cmake-build-system) | |
(arguments | |
`(#:build-type "Release" | |
#:tests? #f | |
#:phases | |
(modify-phases %standard-phases | |
(delete 'reset-gzip-timestamps) | |
(delete 'compress-documentation) | |
(replace 'install | |
(lambda _ (invoke "make")))) | |
)) | |
(inputs | |
`(("luajit" ,luajit))) | |
(synopsis "Nuklear module for the LÖVE game engine") | |
(description "LÖVE is a Lua framework for making 2D games. | |
Nuklear is a minimal state immediate mode graphical user interface toolkit. | |
This package is for the Nuklear bindings in LÖVE created by Kevin Harrison.") | |
(home-page "https://github.com/keharriso/love-nuklear/") | |
(license expat)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment