From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uAmsFFy5m2FKmgAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 16:38:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CJZlEFy5m2GrZAAA1q6Kng (envelope-from ) for ; Mon, 22 Nov 2021 15:38:04 +0000 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 E851328B41 for ; Mon, 22 Nov 2021 16:38:03 +0100 (CET) Received: from localhost ([::1]:52994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpBOM-0006tN-MB for larch@yhetil.org; Mon, 22 Nov 2021 10:38:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpBMS-0004mG-Jy for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpBMS-0005aq-BT for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpBMS-0001c6-8P for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52039] [PATCH 5/7] gnu: Add ocaml-zed. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Nov 2021 15:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52039 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52039@debbugs.gnu.org Cc: zimoun Received: via spool by 52039-submit@debbugs.gnu.org id=B52039.16375953426113 (code B ref 52039); Mon, 22 Nov 2021 15:36:04 +0000 Received: (at 52039) by debbugs.gnu.org; 22 Nov 2021 15:35:42 +0000 Received: from localhost ([127.0.0.1]:48884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpBM6-0001aR-6h for submit@debbugs.gnu.org; Mon, 22 Nov 2021 10:35:42 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:44646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpBM0-0001ZB-Qt for 52039@debbugs.gnu.org; Mon, 22 Nov 2021 10:35:37 -0500 Received: by mail-wr1-f44.google.com with SMTP id n29so33426785wra.11 for <52039@debbugs.gnu.org>; Mon, 22 Nov 2021 07:35:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lX+mjGaaqf5hPugjUj/CMfeim8auagataJvtGRqEXCY=; b=Uq1tEwVb5GDX7Qi8O4EY6hl81TWSbLLRkjNAHVW/qvIkep+QmkVPi1/qsfYEIL0A2a 4NRqogxyitDGzH718ETfUaxM51Ha1YIVj8oUznWGlWEgdY618qMBaRRRN4Mm9IigBdlu NtsteofQ4p4frTMa6xx3seIb1pAHCltBYcUpQAsWlN2jamWe6WIzMvB1QXLK4VVkIqi+ PkwPwB3YozRUMEkeBjZQi2m4geScdOgjtEgrkdBBCDKXj17kf+2g4zkBxDMgzNLGstei baaQ0J5gZ2oZJO6J/gUCqf/2sHIogJG2BMsDBtsRra487foRcxixK82Qkjl9j9YdlaRC eHwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lX+mjGaaqf5hPugjUj/CMfeim8auagataJvtGRqEXCY=; b=748ozAHPT3/zWC6XMb9cDr7eD0Ghi0ksCRiOftQfmSXv+UNohdzPXALUv8D1Bw6C9T 2HhNGmLw0A7/zfl5l0hdMOVGftK6WvFOKccSFBvSb8e/lW5+a7u3OzPTtx17UAqN1hKW B213EAY3d05oI+A/NEdaZetr7+ObOhn5Jo0ZDbd1aIOwPBq+5Ba0DgiEGWQcc87Ipo8d LYyEY5Imd5HO7Miss1LHzv1lk7iPSA6eKaM9Y7INS8vpv4+otUFaFS+zkeAm/kbAEW80 ArV7df12zLqhODqOVPBIzqJDj/L3aD/GyDZd+b2/yWu+43PtzGmKHYt0id5YSRqiCfbb 31aA== X-Gm-Message-State: AOAM5317Uhc1YST+DmxGiDKYFmoi7Jcjr0yQNvZUIQ4QwLYfMuY3ojXo UQ8xSj5e5OFAjVulx+E0g4GX0c+clV0= X-Google-Smtp-Source: ABdhPJyv0qelICtczu8Qbt4DmddiZidvMk3QjPhF3H07QiEXvQMcv+P5B5JrWWELv4xflivKliYRDw== X-Received: by 2002:a05:6000:1541:: with SMTP id 1mr38195838wry.347.1637595331008; Mon, 22 Nov 2021 07:35:31 -0800 (PST) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id o9sm9409147wrs.4.2021.11.22.07.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 07:35:30 -0800 (PST) From: zimoun Date: Mon, 22 Nov 2021 16:35:24 +0100 Message-Id: <20211122153526.51833-5-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211122153526.51833-1-zimon.toutoune@gmail.com> References: <20211122153526.51833-1-zimon.toutoune@gmail.com> 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637595484; h=from:from:sender:sender: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=lX+mjGaaqf5hPugjUj/CMfeim8auagataJvtGRqEXCY=; b=J1NJbseZzJ2eR46Rw+d+GfGpO6exZJAEwTOvUFkp/yeFjpu7xcErWgeH1c9dAuRsL736r/ z2ZdWn2/7TYB86mTbj+ER34MOn0SDPFWUqBMrnwAfOiuHHuafh+H4PmZyIafg1lX1FN5NA ZwKvp45tTXQyslq9G5iZIqTeD1hAHMB8gdjymtCGByz/QmBQ2zt3sJKcBZvcj3IOVhYp5Q YOVs+wXgLIG8EG/JomPLGugwjBL4oooJKg001flTtBtFVFAJiE7Ax9L5yo0k+nA0LoNcia tXMyYreucy4wVYk0Q7jaBEteWyf3jq1rXVZuB4Ox9uz3PQq7cCCgmMlw2Xjqnw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637595484; a=rsa-sha256; cv=none; b=GQyngMYlvif6xD/f+Qf/P58RZvp680UoK7Z3dUE8Kbkt8c/sbRW9WWKnUUKDvjVjoomODo MU1qAcQTEqjahoqB7PTp9qW0JTSN8asnJ2j9O+dvt51FoYZBSPcxah8wHK3pIiC+ffEgFJ ZW1e8Nb/8/0/4HIdA24HwHWoemNVeTx1yrUosJ8ehdA4QaxX4yGoHWWwR78QGlwhM08xca Noynthr3gUU3ddScW0iBPp7hYfHTgmfaLWTeukrkbbV2kgfjNfdI0RoVgw9lrghr6Vv8qR 6gs+VOUZ50JObKT5x7qUoVDhXf5kO23lITzYJlfRYug6x9iI3jEF9LMgFGyu3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Uq1tEwVb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 0.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Uq1tEwVb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: E851328B41 X-Spam-Score: 0.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: ThKCbop7VV4a * gnu/packages/ocaml.scm (ocaml-zed): New variable. (ocaml4.07-zed): Inherit and adjust 'source'. --- gnu/packages/ocaml.scm | 43 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 92ace48abb..032347a28e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4020,15 +4020,48 @@ (define-public ocaml-charinfo-width function that follows the prototype of POSIX's wcwidth.") (license license:expat)))) +(define-public ocaml-zed + (package + (name "ocaml-zed") + (version "3.1.0") + (home-page "https://github.com/ocaml-community/zed") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04vr1a94imsghm98iigc35rhifsz0rh3qz2qm0wam2wvp6vmrx0p")))) + (build-system dune-build-system) + (arguments + `(#:test-target ".")) + (propagated-inputs + `(("ocaml-charInfo-width" ,ocaml-charinfo-width) + ("ocaml-camomile" ,ocaml-camomile) + ("ocaml-react" ,ocaml-react))) + (synopsis "Abstract engine for text edition in OCaml") + (description + "This module provides an abstract engine for text edition. It can be +used to write text editors, edition widgets, readlines, and more. The module +Zed uses Camomile to fully support the Unicode specification, and implements +an UTF-8 encoded string type with validation, and a rope datastructure to +achieve efficient operations on large Unicode buffers. Zed also features a +regular expression search on ropes. To support efficient text edition +capabilities, Zed provides macro recording and cursor management facilities.") + (license license:bsd-3))) + (define-public ocaml4.07-zed (package + (inherit ocaml-zed) (name "ocaml4.07-zed") (version "2.0.3") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/diml/zed") + (url "https://github.com/ocaml-community/zed") (commit version))) (file-name (git-file-name name version)) (sha256 @@ -4042,13 +4075,7 @@ (define-public ocaml4.07-zed (propagated-inputs `(("ocaml-camomile" ,(package-with-ocaml4.07 ocaml-camomile)) ("ocaml-charinfo-width" ,(package-with-ocaml4.07 ocaml-charinfo-width)) - ("ocaml-react" ,(package-with-ocaml4.07 ocaml-react)))) - (home-page "https://github.com/diml/zed") - (synopsis "Abstract engine for text editing in OCaml") - (description "Zed is an abstract engine for text edition. It can be used -to write text editors, edition widgets, readlines, etc. You just have to -connect an engine to your inputs and rendering functions to get an editor.") - (license license:bsd-3))) + ("ocaml-react" ,(package-with-ocaml4.07 ocaml-react)))))) (define-public ocaml4.07-lambda-term (package -- 2.32.0