From patchwork Wed Dec 11 14:33:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jethro Cao X-Patchwork-Id: 16489 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 11D4A17874; Wed, 11 Dec 2019 14:35:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C3E341784A for ; Wed, 11 Dec 2019 14:35:36 +0000 (GMT) Received: from localhost ([::1]:43300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1if35T-0008HF-KO for patchwork@mira.cbaines.net; Wed, 11 Dec 2019 09:35:35 -0500 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 X-Loop: help-debbugs@gnu.org 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-From: Jethro Cao Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Dec 2019 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38548 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38548@debbugs.gnu.org Cc: Jethro Cao Received: via spool by 38548-submit@debbugs.gnu.org id=B38548.157607485032155 (code B ref 38548); Wed, 11 Dec 2019 14:35:02 +0000 Received: (at 38548) by debbugs.gnu.org; 11 Dec 2019 14:34:10 +0000 Received: from localhost ([127.0.0.1]:57045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1if345-0008MY-PN for submit@debbugs.gnu.org; Wed, 11 Dec 2019 09:34:09 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:39666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1if344-0008ME-1Y for 38548@debbugs.gnu.org; Wed, 11 Dec 2019 09:34:08 -0500 Received: by mail-pj1-f65.google.com with SMTP id v93so9012694pjb.6 for <38548@debbugs.gnu.org>; Wed, 11 Dec 2019 06:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+tcbkajlCbqSKceCm71fseRnLnp428HRY0AEcriUztQ=; b=u3YGK0tg7q8CX+6dErBkSNFCnyMDfjk4+I2V7oYOgBjl5wKh6IDTOE4v7zb36b3EwI QTs3RIZfWWF+BAaGmRI3IqcqiiFqjwS1kR7FvqHC+2WCsdcP2swYManBIsFUiGv9SctO +qKUH+EpEQOPmpaPo2H+/tW0jSxonLiKVm0ygZgo3HdNubStq3p2fshBR3zFNPx2Qucn SA+tI/NBaOwO95UQxS4v81bYo770qmJfLO/jcl+Ut4C8QMaBXT28u9XUCYcF5mmS8psd RS0dNMOhpof0kEmqXclK3QSTfRhNpa24hIZSUm3RmFoUGqv8BJ1MQEie7PkSE1wnThx+ p0qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+tcbkajlCbqSKceCm71fseRnLnp428HRY0AEcriUztQ=; b=BrGU3dIQ4T2lFBU+eo4oAIXHufYDwVfng0i0oZxXRV/UwhEL/IQHuAwgP76fveqWYq sRw/l/3NqYELEinS/bT5nUVU4U7+6SAooTBg9te4j6tpK7zuwvLZ/ICEl6B1nYMnzqUj BuG4iXeTVg8vzS8OTTY8GT88wMQeTd5KINXNmLqQTu9VFWo/cQIcMPXBxmBx8DZ+bhXs YWTz4yO7BeVlnrBdnDSUjPVeNfQP/YHEkbsztPlGFI5hgL8N9g9lcDI9y0mpki6823lt r28xNC5DuOcBJTk7IQgFI16JKwzOoxglquH8xuZyHGMXR+rnDxBK3VaTAKdanJAosM+U nAPQ== X-Gm-Message-State: APjAAAXB5Ft+KPErAK3bWNa0T3Kq0SOAGa+4WPI34ycxsbXlF9+ubKeE AQBZdbfZs61+fFsM77xmArBYrX6Y X-Google-Smtp-Source: APXvYqyAqAF/3/dDDMLVF+63fF1jJ7m3uXpXZBFZBgMs41ua8roqZSKE6pnpu8d6+o2DUE/NhsdPRw== X-Received: by 2002:a17:902:9a8d:: with SMTP id w13mr3557322plp.330.1576074841568; Wed, 11 Dec 2019 06:34:01 -0800 (PST) Received: from 192.168.1.13 ([2403:6200:8862:dc52:8f2d:f542:50:6191]) by smtp.gmail.com with ESMTPSA id a3sm2748076pjh.31.2019.12.11.06.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 06:34:00 -0800 (PST) From: Jethro Cao Date: Wed, 11 Dec 2019 21:33:44 +0700 Message-Id: <20191211143344.17419-1-jethrocao@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")