* [bug#38548] [PATCH] gnu: Add love-nuklear.
@ 2019-12-09 9:32 Jethro Cao
2019-12-11 14:33 ` Jethro Cao
0 siblings, 1 reply; 3+ messages in thread
From: Jethro Cao @ 2019-12-09 9:32 UTC (permalink / raw)
To: 38548; +Cc: Jethro Cao
* gnu/packages/game-development.scm (love-nuklear): New variable.
---
gnu/packages/game-development.scm | 32 +++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 833f00b77c..f47e580c27 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -653,6 +653,38 @@ programming language.")
(home-page "https://love2d.org/")
(license license:zlib)))
+(define-public love-nuklear
+ (let ((version "v2.6")
+ (commit "fef4e00a602efb16c57ae962850b6e7a01f7a29a"))
+ (package
+ (name "love-nuklear")
+ (version (git-version version "+4commits" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/keharriso/love-nuklear/")
+ (commit commit)
+ (recursive? #t)
+ ;; NOTE: the Nuklear submodule's HEAD is at commit "adc52d7" of Oct 1 2019
+ ;; TODO: package Nuklear, and explicitly specify it as a native (build) input
+ ))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "15qmy8mfwkxy2x9rmxs6f9cyvjvwwj6yf78bs863xmc56dmjzzbn"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:build-type "Release"
+ #:tests? #f))
+ (inputs
+ `(("luajit" ,luajit)))
+ (synopsis "Lightweight immediate mode GUI for LÖVE games")
+ (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 the Nuklear bindings for LÖVE created by Kevin Harrison.")
+ (home-page "https://github.com/keharriso/love-nuklear/")
+ (license license:expat))))
+
(define-public allegro-4
(package
(name "allegro")
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#38548] [PATCH] gnu: Add love-nuklear.
2019-12-09 9:32 [bug#38548] [PATCH] gnu: Add love-nuklear Jethro Cao
@ 2019-12-11 14:33 ` Jethro Cao
2019-12-19 22:11 ` bug#38548: " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Jethro Cao @ 2019-12-11 14:33 UTC (permalink / raw)
To: 38548; +Cc: Jethro Cao
* gnu/packages/game-development.scm (love-nuklear): New variable.
---
* Fixed-up errors from guix lint
* Original & fixup commits squashed into single
* Please use this patch, and disregard the first
gnu/packages/game-development.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 833f00b77c..c7d2525ccb 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -653,6 +653,37 @@ programming language.")
(home-page "https://love2d.org/")
(license license:zlib)))
+(define-public love-nuklear
+ (let ((version "v2.6")
+ (commit "fef4e00a602efb16c57ae962850b6e7a01f7a29a"))
+ (package
+ (name "love-nuklear")
+ (version (git-version version "+4commits" commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/keharriso/love-nuklear/")
+ (commit commit)
+ (recursive? #t)))
+ ;; NOTE: the HEAD of the Nuklear git-submodule is at commit
+ ;; "adc52d710fe3c87194b99f540c53e82eb75c2521" of Oct 1 2019
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "15qmy8mfwkxy2x9rmxs6f9cyvjvwwj6yf78bs863xmc56dmjzzbn"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:build-type "Release"
+ #:tests? #f))
+ (inputs
+ `(("luajit" ,luajit)))
+ (synopsis "Lightweight immediate mode GUI for LÖVE games")
+ (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 the Nuklear bindings for LÖVE created by Kevin Harrison.")
+ (home-page "https://github.com/keharriso/love-nuklear/")
+ (license license:expat))))
+
(define-public allegro-4
(package
(name "allegro")
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#38548: [PATCH] gnu: Add love-nuklear.
2019-12-11 14:33 ` Jethro Cao
@ 2019-12-19 22:11 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-12-19 22:11 UTC (permalink / raw)
To: Jethro Cao; +Cc: 38548-done
Hi,
Jethro Cao <jethrocao@gmail.com> skribis:
> * gnu/packages/game-development.scm (love-nuklear): New variable.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-19 22:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 9:32 [bug#38548] [PATCH] gnu: Add love-nuklear Jethro Cao
2019-12-11 14:33 ` Jethro Cao
2019-12-19 22:11 ` bug#38548: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).