From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44282) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if34x-0008Ec-Lu for guix-patches@gnu.org; Wed, 11 Dec 2019 09:35:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1if34w-0008II-Cb for guix-patches@gnu.org; Wed, 11 Dec 2019 09:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1if34w-0008I3-8C for guix-patches@gnu.org; Wed, 11 Dec 2019 09:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1if34w-0008P1-5D for guix-patches@gnu.org; Wed, 11 Dec 2019 09:35:02 -0500 Subject: [bug#38548] [PATCH] gnu: Add love-nuklear. References: <20191209093259.16706-1-jethrocao@gmail.com> In-Reply-To: <20191209093259.16706-1-jethrocao@gmail.com> Resent-Message-ID: From: Jethro Cao Date: Wed, 11 Dec 2019 21:33:44 +0700 Message-Id: <20191211143344.17419-1-jethrocao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38548@debbugs.gnu.org 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