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 gEYyL8Jhu2OQXgEAbAwnHQ (envelope-from ) for ; Mon, 09 Jan 2023 01:37: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 mp12.migadu.com with LMTPS id 0FA8L8Jhu2M/KQAAauVa8A (envelope-from ) for ; Mon, 09 Jan 2023 01:37:22 +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 97FE33A69 for ; Mon, 9 Jan 2023 01:37:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEg9A-0005T1-OL; Sun, 08 Jan 2023 19:36:16 -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 1pEg92-0005Pj-1I for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:08 -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 1pEg91-00045x-Np for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEg91-0001jk-Io for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60677] [PATCH 07/39] gnu: Add ocaml-functoria-runtime Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Jan 2023 00:36:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60677 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60677@debbugs.gnu.org Cc: raingloom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16732245606516 (code B ref -1); Mon, 09 Jan 2023 00:36:07 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2023 00:36:00 +0000 Received: from localhost ([127.0.0.1]:35069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg8u-0001gx-7P for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:36:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:49606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg8r-0001gM-TQ for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:35:58 -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 1pEg8r-0005N2-OP for guix-patches@gnu.org; Sun, 08 Jan 2023 19:35:57 -0500 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEg8p-00042S-0X for guix-patches@gnu.org; Sun, 08 Jan 2023 19:35:57 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (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 mx1.riseup.net (Postfix) with ESMTPS id 4Nqw3G0GZWzDqL9 for ; Mon, 9 Jan 2023 00:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1673224554; bh=SM83zDkAGwkPVKchWuJvWAQH7fdMhK55dErW+qKaZkg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IPcu6cDsXckxB5NjNU75+KU6sohqRK4pbs9laldaXk1+BB5yRncAJwdpb7G+yFFs4 6PpOrCSY/QE2kdiyaOsRaHzF0TdnjA/Z+zwelb2IAc+4I5ZeCqPd9MMq5xzL8cE1Rm SFCR/cXhZPXXh2GL5+jZCHVU153bbhwHworb0AGc= X-Riseup-User-ID: 475335CBF15DE61922A9FE102876C2E5174449BA81D3E6DB96D5475A1D1EC6B0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Nqw3F0zvsz5vXJ; Mon, 9 Jan 2023 00:35:52 +0000 (UTC) From: Csepp Date: Mon, 9 Jan 2023 01:34:57 +0100 Message-Id: <20230109003529.23375-7-raingloom@riseup.net> In-Reply-To: <20230109003529.23375-1-raingloom@riseup.net> References: <20230109003529.23375-1-raingloom@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-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=1673224642; a=rsa-sha256; cv=none; b=OStEHKQB/WbOCBHfpD/9R3Q4fHEQ6bxolbn9PNtaNxSFUEHkCBZPgMaceSc4kvq+4Sh03a 1IYfcvdu8NmiYolbHp5dPJQ0N+yHcyMZGmXIXuJ2kzUV6m6s1bh/X1r9yNsYknaWeiAQiS Rd2tcBvlJo0VWL/CxQ0vE/hKshkKkvPfpBpgD3ajoF7c5MdEsDVilnUcFg7n9MRIbt5RgD m1mjOpv9azj34KEhFvttWcIEBlTLpDiWLqwKUNr2XduGCFfwit3RYdj/oPbH0ZT9gFqlGV XOGlow9XqQBXQdt7Ppfo88SdfH78qiZ/5VhQryVjz2AbRefVOYAhT3BsHc4R7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=IPcu6cDs; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673224642; 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=z3isyeiCADuBIE3/rHie1HRBe7E+4gg2/Yw42v53RCE=; b=LwOgLV2xJPjrXHi9UMT65OUaIbZs498nVfjJ9ntuaoga3AeEC2gUjPu3gWMdEty+vUp8lC z76sPaUeaeWoXdZ91MtMEoFYj6V0qUVraGgJVR5NURJfrx9dfFTjMWdMK2wAF3OTQZbZW9 MJkKTgmIgX7Hlzq+35LQ9o6/FCQOM497URB4sfAtUNExN3rZmeMzFc6xILZggXjXk8vdh+ Ba3tOXuqW6FAAf39geDOFLd8ldTT6SEoWWzM2E8oOrjL1V9JExSfdOMAAA+F3WC3w7Gf/0 wGThm4/lZScKp7ixICcSGwxc0bfyruPqpt0wYQmKBwlMc/zz9GeYYGx2cDc9hQ== X-Spam-Score: -0.77 X-Migadu-Queue-Id: 97FE33A69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=IPcu6cDs; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -0.77 X-TUID: UQF7qpFsXbzr From: raingloom * gnu/packages/ocaml.scm (mirage-version, mirage-origin, ocaml-functoria-runtime): New variables. --- gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 034924d9ff..1cc930292c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3682,6 +3682,41 @@ (define-public ocaml-emile according RFC2047.") (license license:expat))) +(define-public ocaml-functoria-runtime + (package + (name "ocaml-functoria-runtime") + (version "4.3.2") + (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 + "151adbcn4zmhxgh4g10flamlgwd90pppjvk0lhy2p3yxyn55f914")))) + (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.38.1