Skip to content

Instantly share code, notes, and snippets.

@jyscao
Created December 1, 2019 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyscao/f91cea54a03e03ce8653c2bd1b0165c2 to your computer and use it in GitHub Desktop.
Save jyscao/f91cea54a03e03ce8653c2bd1b0165c2 to your computer and use it in GitHub Desktop.
package definition for love-nuklear
(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