From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 gG06N0RW7WNZKAAAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 23:01:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GNSGN0RW7WNrywAAauVa8A (envelope-from ) for ; Wed, 15 Feb 2023 23:01:40 +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 A5BFFEE12 for ; Wed, 15 Feb 2023 23:01:40 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=H2l4FFiO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676498500; 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=rRMNGZjSIBDW+NZubz7j6qfyxCL8zmHmIg1MuWERfqI=; b=K3t9On0WHLUX0IH1gvytPzHc7QcvqQTX7ADl42PVIq2vSjcELr6NZRFXU1XDaX1lxWKwX+ 9bEJ9wLg+Nq5frmMVo8lEjEU4pUcK9OGheEgLFFEsVJ4eRDFQ3/E5nIUI2OnsfsfMgmepa MBZUgUtJDyXy0jfPLyIB2VQ2Ux0RipgXcTiAohuKRlGjIc1EDlzvs8v+nO5/1P7pxR+xUs F5axC2Wty91nsiu4IzMdrMoZqw/8mo+HDMh7qTCsb1gmbHqcs3JaiRreZvVRcD72ygfbJ5 ItG/F2QuuDHMNw1xNifQHw6p1rUPnC5JRz1+mzUK5kaxqmtypmOlOv6phISqRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=H2l4FFiO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676498500; a=rsa-sha256; cv=none; b=dhSHb+qp5ceP8iUPVJQ0LPr8BrfhFFT41YZVXnW10PUJBt2knMpnQPdvWzsRLy/Avs3moA W9RUJGrZ4UW0gcqfotQgvp5dRfrEmPCMMcWzb2wfXB8D/staFdn2CZDrX4uf8zO/1iZO9f PLdoXfQG9YQatv0IHEQ9kx8ZuEEF7jTcy5B1grnsPxofohb3YjOHICMVvo3iPindRGDBSC 2BNj4ZvdgwIMzSjvNZZSafBMdwXAoX0sMz4XMW5rMCzfIHgWUZWJ9aWpnzAKOU3uwxTx/g vizoz/L++T6oqsshUSrNx21w1ppz43nbFoMmqUtqzzhFqhwmAyOYX+VsMoExIw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpt-0001HU-19; Wed, 15 Feb 2023 17:01:09 -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 1pSPpq-0001Fl-Om for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:06 -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 1pSPpq-0002Ak-FQ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpq-0006s5-A4 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 07/39] gnu: Add ocaml-functoria-runtime Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 60673@debbugs.gnu.org Cc: raingloom Received: via spool by 60673-submit@debbugs.gnu.org id=B60673.167649845826308 (code B ref 60673); Wed, 15 Feb 2023 22:01:06 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:58 +0000 Received: from localhost ([127.0.0.1]:34206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpi-0006q5-0l for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:58 -0500 Received: from mx0.riseup.net ([198.252.153.6]:49950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpe-0006oG-4U for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:54 -0500 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4PHBpm5f0Tz9swd for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498448; bh=jgrv5b8nz9SnGHHoobD5sRni7EDF5+Dof4HKzIAwkLo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H2l4FFiOCsZj/1247TgVzREr9SMmuosF8cEXnoUPgWzj21rsxU9UKe9+grP4NMWYU Rhq3ztsjltxyTGza8tLIdqtOQsTLqO9B2hEgmbG2icxww/up7ZJsT+HHLIJeykhC+3 5cnrba9YJsgDEz4EhnHrIrHQYVxyFjkLKPnct3OM= X-Riseup-User-ID: FC8B0E363FB24DC3580F35F77C5529E5E6F5CFA1D7EC68D7DDD3CDE136890784 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpl6GmMz1y8Z; Wed, 15 Feb 2023 22:00:47 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:56 +0100 Message-Id: <20230215220028.18575-8-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.net> 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: X-Migadu-Queue-Id: A5BFFEE12 X-Spam-Score: 6.98 X-Migadu-Spam-Score: 6.98 X-Migadu-Scanner: scn0.migadu.com List-Post: List-Help: List-Subscribe: , 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 X-TUID: +at7fnRYEEbr From: raingloom * gnu/packages/ocaml.scm (ocaml-functoria-runtime): New variable. --- gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f6371983d3..3ad0ccbb76 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3675,6 +3675,41 @@ (define-public ocaml-emile according RFC2047.") (license license:expat))) +(define-public ocaml-functoria-runtime + (package + (name "ocaml-functoria-runtime") + (version "4.3.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/mirage/mirage/") + (commit (string-append "v" version)))) + ;; TODO this origin is used by multiple packages, so what should the name + ;; field say? + (file-name (git-file-name "mirage" version)) + (sha256 + (base32 + "09mqbffrhnklbc50gaflkwb3h1xysqqiwb84a9q1phjl038pic6r")))) + (build-system dune-build-system) + (arguments + '(#:package "functoria-runtime" + ;; TODO + ;; again, requires opam for tests, which needs network access. + ;; most other tests seem to pass. + #:tests? #f)) + (propagated-inputs + (list ocaml-cmdliner ocaml-fmt ocaml-logs ocaml-bos ocaml-ipaddr + ocaml-emile ocaml-uri)) + (native-inputs + (list ocaml-alcotest)) + (home-page "https://github.com/mirage/mirage") + (synopsis "Runtime support library for functoria-generated code") + (description + "This is the runtime support library for code generated by functoria.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") -- 2.39.1