From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2EMTNShmu2KhHAEAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 22:35:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qIAlNChmu2JcEAAAG6o9tA (envelope-from ) for ; Tue, 28 Jun 2022 22:35:52 +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 51DC3259F4 for ; Tue, 28 Jun 2022 22:35:52 +0200 (CEST) Received: from localhost ([::1]:47132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6Hw7-0008Pm-Bg for larch@yhetil.org; Tue, 28 Jun 2022 16:35:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6HvK-00084q-QE for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6HvK-0002qt-IA for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6HvK-0002rm-Eg for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56286] [PATCH v2 2/6] gnu: Add lutok. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jun 2022 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56286@debbugs.gnu.org Cc: "\(" Received: via spool by 56286-submit@debbugs.gnu.org id=B56286.165644847910926 (code B ref 56286); Tue, 28 Jun 2022 20:35:02 +0000 Received: (at 56286) by debbugs.gnu.org; 28 Jun 2022 20:34:39 +0000 Received: from localhost ([127.0.0.1]:56412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Hux-0002q9-31 for submit@debbugs.gnu.org; Tue, 28 Jun 2022 16:34:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Huv-0002pv-NZ for 56286@debbugs.gnu.org; Tue, 28 Jun 2022 16:34:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0E75345B24; Tue, 28 Jun 2022 22:34:37 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WiVlCzZJnp-V; Tue, 28 Jun 2022 22:34:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656448472; bh=Mqs9YNkwDNWhf81kEWGPrCzxAwE5U/vTYwHECVGiRMk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=cJDoPsIgP+8mwiiH7ksxH1QA4jZTO6e+iLwoWdSqaMQ/vxzchZaUmCo+nC14VjSJP d1hOeujeZ5Kgfp3h6aOzoneViJVdU9SjVmDJ1FqGSUgqDmopRkFoQ71WwLSYseAcZA Cr8e+uNJKf0F2GL1dhbMa0FlZsW9q24Ei+AXQTjkwAdslRrhk+ygi1wsQ1m49eZNbS XEJBB8mXfPSRa2eySaYEl2Oo7q5TzC7NxtM0KQmHTUYiLZSvsMAeQm/OGXM3FFcCJn kvLjpGJzFznN2kB4LL5SoPiU47HYMKhXdqDaEorDH7aFlQm6cJrT2fAp8P1IuSoycI IIDHrhrwZ2a4w== Date: Tue, 28 Jun 2022 21:34:22 +0100 Message-Id: <20220628203426.31906-2-paren@disroot.org> In-Reply-To: <20220628203426.31906-1-paren@disroot.org> References: <20220628203426.31906-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( 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=1656448552; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QM8amYUQ//lSP+t2EBS8mB6h4VEF76m/RAHa0HHyzpc=; b=gk2iKL67FK8rskiZRYAKgDnwBQ+oxmUZ65MDcrxMPfuWSmF3MnUzc8pRhFxKbufXM1okgb SQhaHEIde7N4tblMd7Jtx1gQph6MkoytiKczX1G5BFJAIK3iguiirTMYHZta9WOYLAJeKL e8lNjn7MbksxqKiXqpEX48qAA3fD+Tk3p8zK/AL03FUlkyK8KKbsuYKIWotketbgpirx9g O0iHyZaLdA/eNTsghuk5TLxbPvfC22MEkc2LEXSm5NV/jcTq1Ik+vCldzqIaGPIcE3DWP4 joy39W7aqYx6m/NobgMCdy1PROetMBOmaP5dz9fiZ3Icrw0OTSNW779Ti4P5Gg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656448552; a=rsa-sha256; cv=none; b=FPGVr070wlX3rDN5WCU7Ut0aYDAexbpkgIHP3AJBENsgIOEOsZfgMiZj/Mc+Q0nGl/8aEp 7i59BdwhA4tBkezpbtvnoewf9sksKgq3SiuqyuppDUgc3TAVDKdhRHwAf9xB9UKDpdJ2Y0 G8v34yS9ivUzNIbgaRHnwdPE0aY1pcIpPBCi++Tz51IZ/N/fJUH+rEiWwwu/EvvQuKGWE1 KCOuhxI/L1pyw1I9iHlTajzOigmwa++/Par739thrbIQ95zrXRpaDElkeDRH5mW44h7aYb 2pYMa8joaB0HbBOgQkGsmWqEqFyynpVUBIoslS6F37xxFTtQ/R4NC9sgtBxDHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cJDoPsIg; 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.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=cJDoPsIg; 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: 51DC3259F4 X-Spam-Score: -3.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: YdY0AhbD0PU4 * gnu/packages/lua.scm (lutok): New variable. --- gnu/packages/lua.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index afebc6bc1f..31a0fe1034 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -45,9 +45,11 @@ (define-module (gnu packages lua) #:use-module (guix build-system meson) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages build-tools) + #:use-module (gnu packages check) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages libevent) @@ -1284,3 +1286,35 @@ (define-public fnlfmt "Fnlfmt is a tool for automatically formatting Fennel code in a consistent way, following established lisp conventions.") (license license:lgpl3+))) + +(define-public lutok + ;; The last tag was in 2014, the last commit in 2016. + (let ((commit "8f8eaefe8b7c76e286b96fcbe2e860af98de29ea") + (revision "0")) + (package + (name "lutok") + (version (git-version "0.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jmmv/lutok") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08ajd8bb4pzrbak3kq5arxgy82wg43vfdxilyfx1p6pyp6g18jj8")))) + (build-system gnu-build-system) + (inputs (list lua-5.2)) + (native-inputs (list atf autoconf automake libtool pkg-config)) + (arguments + ;; Tests require Kyua, which itself depends on Lutok. + (list #:tests? #f)) + (home-page "https://github.com/jmmv/lutok") + (synopsis "Lightweight C++ API for Lua") + (description + "Lutok provides a lightweight wrapper around Lua's C interfaces that eases +the interaction between C++ and Lua. These wrappers make intensive use of RAII +to prevent resource leakage, expose C++-friendly data types, report errors by +means of exceptions and ensure that the Lua stack is always left untouched in +the face of errors.") + (license license:bsd-3)))) -- 2.36.1