GNU bug report logs - #38548
[PATCH] gnu: Add love-nuklear.

Previous Next

Package: guix-patches;

Reported by: Jethro Cao <jethrocao <at> gmail.com>

Date: Mon, 9 Dec 2019 14:58:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38548 in the body.
You can then email your comments to 38548 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#38548; Package guix-patches. (Mon, 09 Dec 2019 14:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jethro Cao <jethrocao <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 09 Dec 2019 14:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jethro Cao <jethrocao <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Jethro Cao <jethrocao <at> gmail.com>
Subject: [PATCH] gnu: Add love-nuklear.
Date: Mon,  9 Dec 2019 16:32:59 +0700
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#38548; Package guix-patches. (Wed, 11 Dec 2019 14:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 38548 <at> debbugs.gnu.org (full text, mbox):

From: Jethro Cao <jethrocao <at> gmail.com>
To: 38548 <at> debbugs.gnu.org
Cc: Jethro Cao <jethrocao <at> gmail.com>
Subject: [PATCH] gnu: Add love-nuklear.
Date: Wed, 11 Dec 2019 21:33:44 +0700
* 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





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 19 Dec 2019 22:12:02 GMT) Full text and rfc822 format available.

Notification sent to Jethro Cao <jethrocao <at> gmail.com>:
bug acknowledged by developer. (Thu, 19 Dec 2019 22:12:02 GMT) Full text and rfc822 format available.

Message #13 received at 38548-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jethro Cao <jethrocao <at> gmail.com>
Cc: 38548-done <at> debbugs.gnu.org
Subject: Re: [bug#38548] [PATCH] gnu: Add love-nuklear.
Date: Thu, 19 Dec 2019 23:11:48 +0100
Hi,

Jethro Cao <jethrocao <at> gmail.com> skribis:

> * gnu/packages/game-development.scm (love-nuklear): New variable.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 17 Jan 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.