From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yN1XDI3Vm2G45gAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 18:38:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0P/6B43Vm2GdMwAA1q6Kng (envelope-from ) for ; Mon, 22 Nov 2021 17:38:21 +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 DB99727E61 for ; Mon, 22 Nov 2021 18:38:20 +0100 (CET) Received: from localhost ([::1]:60418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpDGm-0005Xy-44 for larch@yhetil.org; Mon, 22 Nov 2021 12:38:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpDGW-00056y-5R for guix-patches@gnu.org; Mon, 22 Nov 2021 12:38:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpDGV-0008Tk-TX for guix-patches@gnu.org; Mon, 22 Nov 2021 12:38:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpDGV-0007AE-QQ for guix-patches@gnu.org; Mon, 22 Nov 2021 12:38:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52039] [PATCH v2 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 17:38:03 +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.163760264827452 (code B ref 52039); Mon, 22 Nov 2021 17:38:03 +0000 Received: (at 52039) by debbugs.gnu.org; 22 Nov 2021 17:37:28 +0000 Received: from localhost ([127.0.0.1]:49020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpDFw-00078g-4K for submit@debbugs.gnu.org; Mon, 22 Nov 2021 12:37:28 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:44678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpDFl-00077L-5O for 52039@debbugs.gnu.org; Mon, 22 Nov 2021 12:37:17 -0500 Received: by mail-wm1-f47.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso469379wme.3 for <52039@debbugs.gnu.org>; Mon, 22 Nov 2021 09:37:17 -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=uRcBgEZP5CMAGcWIOZqvno2EXT06jq5bmTYDhipx8DQ=; b=DAC2lC/VY9ckRCJTPF4dWGCkmN2SiG177GA75giaN/Coq8HeRlOJyy5d7NgOSX4PVF u+Czp79Lys6ispWxFDG8is2ghElNlLLv4fe6INFIsmLzNw3E4/gcaSbkgwx8L7f4RIam B/OGc+Kc31a0LF9HZmdvOUotIrsay2M55CbdiQHzcolFZirjFXw7cVwzzGAv0Wx+0Gmk qwh9D9lyovS46QzX4Zi8kBSjeTpu/t+IT+PlLfHOcbS/BaUmpoLuaFqx3R204eW2xBw8 o5MdLNNl3tdETerIhiR/y+iJsmO9L4Ndiy3jUR1X6OYRs6wHWMr+GnC9dUGG4zRtzxge /mbA== 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=uRcBgEZP5CMAGcWIOZqvno2EXT06jq5bmTYDhipx8DQ=; b=ySyFswfWu0WXbjLkrkzm3yTOviu56SPeNxihOQeI8RxoKHPUOo1p1gECGgeuEvaJ3w Se+KkTOkNcj1m7xUMdNnTCGGfeFbxuscESSl85KJDJ81u4kKF/8oBCfdzZ7XSTXZG5+o p524s11mVCx6gxDXjYwRYzH+DJDpCUBlr2EZ9tFpP/PmOcHF7lKiM6qfrvgQ9bS8b+Sd NWEFmdcLpf1Qy2CAG/4ODl7JSK417votmVFsQ2/2Tbj9e7d7YBhBRxuqW+gXEfrm/Jma j2vAKmSqYbIOqcbHIZri6PTdzkZzqvYV1Xmg/SrOtw6wKVobXRL3jPxcEbqjYGHA5zrN cslA== X-Gm-Message-State: AOAM531yDbXHw8YSOUSRnTzE2dxyXB6X5eT2fM15zFUQt2LwF/ARfOwe wiJ0nj+Dr+ZoTV3ooLaYWcDbsKAkPz8= X-Google-Smtp-Source: ABdhPJwiXRc/4jbylRtwf/48B3AsAZxNGkCL/RtBN3twLKXOjZ9j9YMQ9k6eZ4ss5XX4D0nTa+UQVg== X-Received: by 2002:a05:600c:a05:: with SMTP id z5mr31582242wmp.73.1637602631445; Mon, 22 Nov 2021 09:37:11 -0800 (PST) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id n4sm11763712wri.41.2021.11.22.09.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 09:37:11 -0800 (PST) From: zimoun Date: Mon, 22 Nov 2021 18:37:00 +0100 Message-Id: <20211122173702.59732-5-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211122173702.59732-1-zimon.toutoune@gmail.com> References: <20211122173702.59732-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637602701; 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=uRcBgEZP5CMAGcWIOZqvno2EXT06jq5bmTYDhipx8DQ=; b=q+SOq6hXe215X0JLOBxdNavRgx1X9IS3e8halj4CHgf2/3mdfYV5CvNDCTkRs9X7EwrbQf Mj6EGIibqxk3nmMPGlR+WtSziNWRuqYVf0yTKkieAn+f91EaZEjG5L+K4c2acfWDYXL7zk ps3rIZi/TzUV90XH74b1BYDGrXcI6Nhz6QRI0qfWNtPVVsKL1mbh7xyP2mWBmYUoLV0Hf5 bJosjtt2PbbkwuFyXnSJpX+W/RlbTiK9B+Vkb+2o3ylVPJ0xD8gL2Bwe+m6AeE3uXsQ4cQ VTRFh4dPrBfso12fuKTy8c1PYqZF2KlzYFDxxG5LkHJm5GCMlJJDIzgFelMqpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637602701; a=rsa-sha256; cv=none; b=dIoRK/UspRQqjtOXRoYQUKvnA43CE5wtuCGtwj3shUroIFd1Fe1MUs+nloUiT7GzO48jeY XeTyU92lvtp1uPzcP0cz8Ils0dcQSB1MZc7oIpECUfjS3uhaonIhHCpZpRG/NE/7/Gb2B+ Lv6QyagVRdkRttOWl12K+K+rin4lnt+Xn3Sa73QPyLpwrsCg2kfc4vu0+fcb1QBngtKnVj 5DERToe0MKfYHFQ/tBjUUCrRhVcMZz3HWXR5aiww9nPDLMeG5YHA656j2maLZJ98wtxM2l /zvZ3uS2BRIKeVXPoolexc02WznHzNfbjAAjeUFtXU2HGropmIlpgjWRnr4i7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="DAC2lC/V"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="DAC2lC/V"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DB99727E61 X-Spam-Score: 2.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: pUCzn/4t7Zu6 * gnu/packages/ocaml.scm (ocaml-zed): New variable. (ocaml4.07-zed): Inherit and adjust source. --- gnu/packages/ocaml.scm | 53 ++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 17 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 92ace48abb..9ee443f3af 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4020,36 +4020,55 @@ (define-public ocaml-charinfo-width function that follows the prototype of POSIX's wcwidth.") (license license:expat)))) -(define-public ocaml4.07-zed +(define-public ocaml-zed (package - (name "ocaml4.07-zed") - (version "2.0.3") + (name "ocaml-zed") + (version "3.1.0") + (home-page "https://github.com/ocaml-community/zed") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/diml/zed") + (url home-page) (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0pa9awinqr0plp4b2az78dwpvh01pwaljnn5ydg8mc6hi7rmir55")))) + (base32 "04vr1a94imsghm98iigc35rhifsz0rh3qz2qm0wam2wvp6vmrx0p")))) (build-system dune-build-system) (arguments - `(#:test-target "." - #:ocaml ,ocaml-4.07 - #:findlib ,ocaml4.07-findlib - #:dune ,ocaml4.07-dune)) + `(#:test-target ".")) (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.") + `(("ocaml-charInfo-width" ,ocaml-charinfo-width) + ("ocaml-camomile" ,ocaml-camomile) + ("ocaml-react" ,ocaml-react))) + (properties `((ocaml4.07-variant . ,(delay ocaml4.07-zed)))) + (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-with-ocaml4.07 + (package + (inherit ocaml-zed) + (version "2.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml-community/zed") + (commit version))) + (file-name (git-file-name "ocaml4.07-zed" version)) + (sha256 + (base32 + "0pa9awinqr0plp4b2az78dwpvh01pwaljnn5ydg8mc6hi7rmir55")))) + (properties '())))) + (define-public ocaml4.07-lambda-term (package (name "ocaml4.07-lambda-term") -- 2.32.0