From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qKgxI5iA0WJs0QAAbAwnHQ (envelope-from ) for ; Fri, 15 Jul 2022 16:58:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eGkoI5iA0WJQMQAA9RJhRA (envelope-from ) for ; Fri, 15 Jul 2022 16:58:32 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 91DA11ECD7 for ; Fri, 15 Jul 2022 16:58:28 +0200 (CEST) Received: from localhost ([::1]:48300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCMlv-0005OJ-1P for larch@yhetil.org; Fri, 15 Jul 2022 10:58:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCMlW-0005Mg-7w for guix-patches@gnu.org; Fri, 15 Jul 2022 10:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44208) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCMlV-0005hT-VM for guix-patches@gnu.org; Fri, 15 Jul 2022 10:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCMlV-0003vj-MZ for guix-patches@gnu.org; Fri, 15 Jul 2022 10:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56576] [PATCH] gnu: Add nuklear. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Jul 2022 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56576 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56576@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165789708015098 (code B ref -1); Fri, 15 Jul 2022 14:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jul 2022 14:58:00 +0000 Received: from localhost ([127.0.0.1]:41967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCMlT-0003vQ-N1 for submit@debbugs.gnu.org; Fri, 15 Jul 2022 10:58:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:35572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCMlQ-0003vH-R0 for submit@debbugs.gnu.org; Fri, 15 Jul 2022 10:57:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCMlQ-0005Kj-M2 for guix-patches@gnu.org; Fri, 15 Jul 2022 10:57:56 -0400 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:60578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oCMlK-0005fs-S0 for guix-patches@gnu.org; Fri, 15 Jul 2022 10:57:56 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Lkvbp0Jwhz9sQk for ; Fri, 15 Jul 2022 16:57:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1657897062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=1lD0XK5AcY+txI+edd0MmF1zBT1tTx5pgHEkoaxMq5k=; b=r3xcQfYAgH9VjxLPfjeEmnGGg2yAMgbvn3DhLij+WtAFg4QBwihqRFOC3swJiCrAJsUNKq QU1mdFNDsVaO1ijHfd+jZorHWVeEt30XQmL871RpC8SMBCeHUdCSajKuZq1xy7S4TLv80N YfdfFh09NHqnWlPymjSX1DyG1nyhAhq+Ebl1C2PRsC85Bmpu+2HEdmq3J57mrdBHAIyNi1 DLOmnPdAVD9IXF99nrWnDpX3CVkMn82IF3AocMYwjNrux6FVDqCPGSZvy7CZ6IO1ATMIuG iYxtDAylcCkfwR7DalOP0wcS0lURzLRo6uXN39dYcEAQv78r7MOzLHWznpveqA== Date: Fri, 15 Jul 2022 14:57:35 +0000 Message-Id: <20220715145735.5752-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: qemkqf7jt3xeay7ukiskpsm36dt5tu7t X-MBO-RS-ID: 8b22a816840ce3cc6ac X-Rspamd-Queue-Id: 4Lkvbp0Jwhz9sQk Received-SPF: pass client-ip=2001:67c:2050:0:465::101; envelope-from=antero@mailbox.org; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657897108; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1lD0XK5AcY+txI+edd0MmF1zBT1tTx5pgHEkoaxMq5k=; b=RLQGGVp/BbRrlbOtr6dtAvbxNgKGAlvOnC0ITRR84xjEmRaly1XVIe5zXuEy88kYqXKJXh RMzYbSgbLFwajpoin1dBCtyaCSuWbRDbTByMe6c39pG2yfh147klbVCpox9oSdCdTlG3xN hKJqBQZ6fRieJVKIotQCI+QTuHIdujEK0xt4DrsN2fKkWVjOLbX3iKWeFv5nFltcYNUdUf NXU5yLkixk029JOXDQk+19mNc7oq8Yw83GJQpYxN8ojGOBRRN7w70FcTXzuq3sSghaboXP m0UPRhBtGaz2e8MW62t+EgrLedl7CD0nfSOoETBqUPoVnmMWOTtIgc0AIzJV1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657897108; a=rsa-sha256; cv=none; b=Kn6iKKkR49H0Z+W0muLwuv1wBHwxySR57MhaXXIaigKK94RO2p3RvJiXxL2pGWepnBf8Jw V7Wv00OEikNjPjS0hVLXIf7mQE/ZCIM0HUtAydQup0hb1RaD27q/svJL3dKXzQ1J7cOuA5 gko9btqp7q9H8Z2Iy14V079ue5kHFSDbKVLBhQ6eywZowMs77jdWKcZSrg7J+f4wvwNs7l 5SvAir2Qt4WiiUZ2LPRGTy/KaPcYM2J/3GVatZPPBXLG64JC/1pwZd8kdJrbvBSnQcXX7J T6ETbsRl1Z4YH9pFjcA3pV84kRPAyuxdyAMpX11ecfxh5xjOJvGpeEwwew6aYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=r3xcQfYA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=r3xcQfYA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 91DA11ECD7 X-Spam-Score: -3.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: A5nUM0qtHBwM * gnu/packages/c.scm (nuklear): New variable. --- gnu/packages/c.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index b1f68c706b..61bc1f13dc 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1219,3 +1219,38 @@ (define-public utest-h (description "This package provides a header-only unit testing library for C/C++.") (license license:unlicense)))) + +(define-public nuklear + (package + (name "nuklear") + (version "4.9.6") + (home-page "https://github.com/Immediate-Mode-UI/Nuklear") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "18hvrmynycv5msc20f5v4drgapbig85s67iqq6k87n9l816zi1qg")))) + (build-system python-build-system) + (arguments + (list #:tests? #f ;no tests + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (with-directory-excursion "src" + (invoke "./paq.sh")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (install-file "nuklear.h" + (string-append #$output "/include"))))))) + (synopsis "Graphical user interface toolkit written in ANSI C") + (description "This package provides an immediate-mode graphical user +interface toolkit. It was designed as an embeddable user interface +for applications and does not have any dependencies, a default render backend +or OS window/input handling. The library is self contained in one single header +file and can be used either in header only mode or in implementation mode.") + (license (list license:unlicense license:expat)))) -- 2.36.1