From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oI2oH/a4m2FMmgAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 16:36:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2KZgG/a4m2EfYgAA1q6Kng (envelope-from ) for ; Mon, 22 Nov 2021 15:36:22 +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 F0642C1A5 for ; Mon, 22 Nov 2021 16:36:19 +0100 (CET) Received: from localhost ([::1]:50200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpBMh-0004pi-4d for larch@yhetil.org; Mon, 22 Nov 2021 10:36:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpBMT-0004mx-1c for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpBMS-0005bC-PT 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-0001cD-MR for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52039] [PATCH 6/7] gnu: Add ocaml-lambda-term. 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.16375953436121 (code B ref 52039); Mon, 22 Nov 2021 15:36:04 +0000 Received: (at 52039) by debbugs.gnu.org; 22 Nov 2021 15:35:43 +0000 Received: from localhost ([127.0.0.1]:48886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpBM6-0001aY-Id for submit@debbugs.gnu.org; Mon, 22 Nov 2021 10:35:42 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:44648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpBM1-0001ZD-59 for 52039@debbugs.gnu.org; Mon, 22 Nov 2021 10:35:38 -0500 Received: by mail-wr1-f45.google.com with SMTP id n29so33426817wra.11 for <52039@debbugs.gnu.org>; Mon, 22 Nov 2021 07:35:37 -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=IqAjJznyEBMPZGRmh/Du1aDUFAJS+cAr+4GWT9HfR/0=; b=EpySdbv+d/uw371oD8xz9jC9FWroaYIqRtdlcx7XYbAqglu4nskD4J2kJyRsjiZ1Sc rooa/L60jT8o+TZ/N67qXTWf932X2S2H6XjkYinCVIEo+mdEQ3tJZIpSamKx5cXbyHDO 9dY/BAdrbFFrqgKKf3C/O5D29Io5IgV//OuWcisb0OOVF+HoedtRoOrYvQwQG1SfFpfu Ym6Hso0X/5aSI/tz1M7R/Hxzn/SgSb/KNPVZtE3aT2Itt9F0w1zErTxK3EBLQ+kn5ZB1 fJhZJqsA0Pym2FGXUKAYlICUawsPmQb5pRaFbOKG2tQvaY3U9m6VdF4h1x1m50EF9rN4 vNOA== 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=IqAjJznyEBMPZGRmh/Du1aDUFAJS+cAr+4GWT9HfR/0=; b=tEMn+LSxBXifQyXJvFNFXus19ePF/SDJx5n5sVYjoZSM1Xt6HCWyBsfezZXOIBHJNw rGiai81ASSprADMSRyoNtPzVgr+kIv3H0CPgaCQxrNWxmm6UteR+eURWHYFAjIH7azxq 1sZmXrzx5Kmy8eMNBm6DNM6tBVUmMcjb8siwB0a7TwIuIRg52WBkT7V/1IPE3WjKVu3s az76dnXXv5cc2qNYZnpicK7a3FCKqTVBbo0O1jwmGJCDvVdLHj35M9reoQvjrtpsANym VaarepEPxdSwTCUI0vUTAlhcEjzRiTdSazbN2PsW1xqxqdFznGLEosZ606ipPhLrqLZz 4d5A== X-Gm-Message-State: AOAM533SelnL0w9gXBWZfH8/rH8/N7ddsbrai5sDxJFMXtXx1PBP1HGt l5Y8/45pby/cd2ExkF6QRTr4jqNj56o= X-Google-Smtp-Source: ABdhPJzdq2w8hMikxLB/Cel517I7a61Q7Ifdk3ye6iYV2rmnIoHRydQEqny3+tvZ9HaJ2IidS9vkJg== X-Received: by 2002:adf:e848:: with SMTP id d8mr38674295wrn.3.1637595331563; 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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 07:35:31 -0800 (PST) From: zimoun Date: Mon, 22 Nov 2021 16:35:25 +0100 Message-Id: <20211122153526.51833-6-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637595380; 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=IqAjJznyEBMPZGRmh/Du1aDUFAJS+cAr+4GWT9HfR/0=; b=KPgmftPs3USMbAa/xwxMX2OWUIxJvK/DsubFri1G5pFltE1zqooXQlthU+fAAxl0utYAJF PB5KMM0eiEvXxUAzRAoX8j4FAQOFMoF761GLY/Le/h/aPtgh83XxpbaV9Wl0nFuNRKQT3d r6+eSF3L+d9/RV/AVYtvo/nfxsxUTIaN2vgF3ApylDv6QmYFdspJm6c0yl87HHPGJSIGGd VZvTsFABrPV8w6vxczT5lPRLPeWmNZDD5bYDYbv1oeLYoQHrzTkSMuvPWX67Re3aoq/XIW tEHpO4UUlVdR68xSMLhiIUT8jKvSlsQKXzzXY0YmijYiPOrfGXFjyHcdevjkyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637595380; a=rsa-sha256; cv=none; b=iRmZ2G50nhnkLfTqNnxJaPuyRZ643tW2niWEAAt+APbd1fuByZ3XJcD80z8S9GCYPk8i/c JkosqlGRKheAfTwHYKqwN7bC1dhWzqcaYU9vDqYqh9uZH8exvBdcFMp61Hx9ny6OcUpOrQ xCX0xU1FgrE/AmpcShoUejSdsRalMjb+kppE5CHGsg7N4traIphXLOU3u0BgdFDbj4gjA7 e3PJy+vwuXDMI8hu6CIm8GpulFR9NyicByUB6vrpJNfZK8t6YngT3p2tA8qiUyLW1CoblF KHUWo7nV75MczbVC6bEHL+ZwCuV3Jk1l5vN9NO0Mf1fwuTd4b/Ya+5D0LBoJYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EpySdbv+; 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: 3.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EpySdbv+; 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: F0642C1A5 X-Spam-Score: 3.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9kF6SKFf9+t8 * gnu/packages/ocaml.scm (ocaml-lambda-term): New variable. (omca4.07-lambda-term): Inherit and adjust source. [arguments]: Set tests. --- gnu/packages/ocaml.scm | 51 +++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 032347a28e..f63a00f1d8 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4077,22 +4077,56 @@ (define-public ocaml4.07-zed ("ocaml-charinfo-width" ,(package-with-ocaml4.07 ocaml-charinfo-width)) ("ocaml-react" ,(package-with-ocaml4.07 ocaml-react)))))) +(define-public ocaml-lambda-term + (package + (name "ocaml-lambda-term") + (version "3.1.0") + (home-page "https://github.com/ocaml-community/lambda-term") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k0ykiz0vhpyyj9fkss29ajas4fh1xh449j702xkvayqipzj1mkg")))) + (build-system dune-build-system) + (arguments + `(#:test-target ".")) + (propagated-inputs + `(("ocaml-lwt" ,ocaml-lwt) + ("ocaml-lwt-log" ,ocaml-lwt-log) + ("ocaml-react" ,ocaml-react) + ("ocaml-zed" ,ocaml-zed) + ("ocaml-camomile" ,ocaml-camomile) + ("ocaml-lwt-react" ,ocaml-lwt-react) + ("ocaml-mew-vi" ,ocaml-mew-vi))) + (synopsis "Terminal manipulation library for OCaml") + (description "Lambda-Term is a cross-platform library for manipulating the +terminal. It provides an abstraction for keys, mouse events, colors, as well as +a set of widgets to write curses-like applications. The main objective of +Lambda-Term is to provide a higher level functional interface to terminal +manipulation than, for example, ncurses, by providing a native OCaml interface +instead of bindings to a C library.") + (license license:bsd-3))) + (define-public ocaml4.07-lambda-term (package + (inherit ocaml-lambda-term) (name "ocaml4.07-lambda-term") (version "2.0.2") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/diml/lambda-term") + (url "https://github.com/ocaml-community/lambda-term") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0zcjy6fvf0d3i2ssz96asl889n3r6bplyzk7xvb2s3dkxbgcisyy")))) - (build-system dune-build-system) (arguments - `(#:tests? #f + `(#:test-target "." #:ocaml ,ocaml-4.07 #:findlib ,ocaml4.07-findlib #:dune ,ocaml4.07-dune)) @@ -4100,16 +4134,7 @@ (define-public ocaml4.07-lambda-term `(("ocaml-lwt" ,(package-with-ocaml4.07 ocaml-lwt)) ("ocaml-lwt-log" ,(package-with-ocaml4.07 ocaml-lwt-log)) ("ocaml-lwt-react" ,(package-with-ocaml4.07 ocaml-lwt-react)) - ("ocaml-zed" ,ocaml4.07-zed))) - (home-page "https://github.com/diml/lambda-term") - (synopsis "Terminal manipulation library for OCaml") - (description "Lambda-Term is a cross-platform library for manipulating the -terminal. It provides an abstraction for keys, mouse events, colors, as well as -a set of widgets to write curses-like applications. The main objective of -Lambda-Term is to provide a higher level functional interface to terminal -manipulation than, for example, ncurses, by providing a native OCaml interface -instead of bindings to a C library.") - (license license:bsd-3))) + ("ocaml-zed" ,ocaml4.07-zed))))) (define-public ocaml4.07-utop (package -- 2.32.0