From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OGwFGm3L9GPMQwAAbAwnHQ (envelope-from ) for ; Tue, 21 Feb 2023 14:47:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GEXAGW3L9GMD1gAAauVa8A (envelope-from ) for ; Tue, 21 Feb 2023 14:47:25 +0100 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 24C21CECC for ; Tue, 21 Feb 2023 14:47:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUSzA-0001hh-D1; Tue, 21 Feb 2023 08:47:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUSz1-0001gx-Gp for guix-patches@gnu.org; Tue, 21 Feb 2023 08:47:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUSz1-0002Mu-4v for guix-patches@gnu.org; Tue, 21 Feb 2023 08:47:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUSz0-000860-JS for guix-patches@gnu.org; Tue, 21 Feb 2023 08:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61675] [PATCH 2/2] gnu: Add latino. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Feb 2023 13:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61675@debbugs.gnu.org Received: via spool by 61675-submit@debbugs.gnu.org id=B61675.167698718631069 (code B ref 61675); Tue, 21 Feb 2023 13:47:02 +0000 Received: (at 61675) by debbugs.gnu.org; 21 Feb 2023 13:46:26 +0000 Received: from localhost ([127.0.0.1]:55041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSyP-000852-J0 for submit@debbugs.gnu.org; Tue, 21 Feb 2023 08:46:26 -0500 Received: from knopi.disroot.org ([178.21.23.139]:44742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUSyK-00084s-Jz for 61675@debbugs.gnu.org; Tue, 21 Feb 2023 08:46:24 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 36EA744620 for <61675@debbugs.gnu.org>; Tue, 21 Feb 2023 14:46:19 +0100 (CET) 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 jqQzCC-SqJ1c for <61675@debbugs.gnu.org>; Tue, 21 Feb 2023 14:46:17 +0100 (CET) Message-ID: <1ad50ca0-c218-d602-3026-5c2441105b5f@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1676987177; bh=Zys7ImctJ7hZUewZJ9+7/U4ylaJ+YvMDvK99gdzHV0w=; h=Date:Subject:From:To:References:In-Reply-To; b=jZUOrtdbCdG+R4ykXpqOXvscw+Dyx3otZWCSppaBU081M1bP6mD38XmhclVTywL0/ /tvyuhVzaiQ7i3rrlEaOZWIV1FfcFkpn5Rb3cwTNwSeVhVqlhgeqF+OmiYe1X7gFLF 9S2mTIK6AdXxfO+fAwTzS4w9PSMClh6gorMCFAkeyHfFAhMx529B92jUqqwia8BF7o BQWnItXIrvCInaBaId7gNm+dr9qPNw0dPDWc8Nn0ffEajZRg2Y5RdD9goLhR30qbHY uwujxEagqcflS+XJDmBgrtXY3gNQ5Y1z1ywch8jrpCQZZWe8veIbuRfUF29E772MIu p2FbM0rZygglg== Date: Tue, 21 Feb 2023 21:46:11 +0800 MIME-Version: 1.0 Content-Language: en-US References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches From: Adam Faiz via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676987245; a=rsa-sha256; cv=none; b=lvrf8YxVIgjEQxaaXDNW7JAO2ouI2SwDdJYy3qrGtkBsPlTg7rb00nkzHGXEUSqlb/PLcT LU8WzunFIty2Romgl+W50V5lWpjg+nk1zSRBYO273bNVEkkdO0aVxSezpq8TxiXMPE7/+9 fOVl2ucGyPZ9yPfozPFUFUV10yJhtaKPXZdca2zOHfp44X/UQLh8rJQpgkreznN/l7yYDY 2CjHbA/dP8TYoc6KId585l5CuxsM7vA6Tpnm0WTUBY8alnbcSxN4KoyP97n0jH/TXIXmv/ z7bewZJ0bH0jD+bDNWLNo4FjsYCBTCoZOzW8iJa1iUz4JQvi/SFxBgLG9h+Inw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jZUOrtdb; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676987245; 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-type:content-type: 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=lhGNB/q0wXR+yR4ZjRwrz/gel192yau4nHCIo5Aufx4=; b=AIt+JsevjGDNGNNxKR0rkAPVIowWc5HndZlb+XIK2ydyr7T3d8klJfG+rhwebbMm09qJUJ +f+BbPOsg1ZJQxo93Yq4pfBXz3Q/kCQlbYngKB+RMCqG7Gm2hKbS221Y4LQ3WCgJzUORgk YcIin6QbgxdP6N0DIcUvRAOWV5lFoQcKc400v0ihdHbiE/wLauB1vEV9injtuoq1C5esQv hEppC155lrJWlPgQI80qq20TUIiwTtKtBVM+gxdFOYJ9rLbJtnnAUsBBsu26AOyETdFILG TkvRyYYGX5VM9dGHdzZd2v/6NB/F5qWiaC5YvhAxASO7uXj9FoYqPdB52P9WRQ== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.65 X-Spam-Score: -3.65 X-Migadu-Queue-Id: 24C21CECC Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jZUOrtdb; 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-TUID: ZRTuJBWOMG1J From cb275653fdd7bb8562708e7865a0be8d903998d6 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: <8739b1b5d6eb9de504d7799e22efd7996acfac83.1676986321.git.adam.faiz@disroot.org> References: <8739b1b5d6eb9de504d7799e22efd7996acfac83.1676986321.git.adam.faiz@disroot.org> From: AwesomeAdam54321 Date: Tue, 21 Feb 2023 17:06:04 +0800 Subject: [PATCH 2/2] gnu: Add latino. * gnu/packages/latino.scm: New file. --- gnu/packages/latino.scm | 66 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 gnu/packages/latino.scm diff --git a/gnu/packages/latino.scm b/gnu/packages/latino.scm new file mode 100644 index 0000000000..ae12702b8a --- /dev/null +++ b/gnu/packages/latino.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 Adam Faiz +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages latino) + #:use-module (guix build-system cmake) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (guix packages) + #:use-module ((guix licenses) + #:prefix license:) + #:use-module (gnu packages readline) + #:use-module (gnu packages shells)) + +(define-public latino + (let ((commit "c9ba798aeebd733c0986eced78021394b2d87d4c") + (revision "0")) + (package + (name "latino") + (version (git-version "1.4.3" revision commit)) + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/lenguaje-latino/latino-core") + (commit commit))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "1pmplp32i5c546mcij9cks3lgqysz1bixy8ll4v9bb8c3f5pmaa1")) + (modules '((guix build utils))) + (snippet + #~(begin + ; Unbundle linenoise + (for-each delete-file-recursively + '("src/lib" "src/linenoise")) + (substitute* "src/CMakeLists.txt" + ((".*linenoise.*") "") + (("latuilib.c") "latuilib.c)") + (("link_libraries.m.") + (string-append "link_libraries(m)\n" + " link_libraries(linenoise)"))))))) + (build-system cmake-build-system) + (inputs + (list linenoise readline)) + (synopsis "Programming language with Spanish syntax") + (description + "Latino is a programming language with Spanish syntax, +inspired by Lua and Python.") + (home-page "https://www.lenguajelatino.org") + (license license:gpl3+)))) -- 2.39.1