From patchwork Wed Feb 15 21:59:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46994 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3BF681688A; Wed, 15 Feb 2023 22:04:45 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0298B16876 for ; Wed, 15 Feb 2023 22:04:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqn-0001lM-Tx; Wed, 15 Feb 2023 17:02:05 -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 1pSPql-0001j7-6I for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:03 -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 1pSPqk-0002Qz-TQ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqk-0006z9-Ou for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 09/39] gnu: Add ocaml-functoria. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:02 +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.167649850126612 (code B ref 60673); Wed, 15 Feb 2023 22:02:02 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:41 +0000 Received: from localhost ([127.0.0.1]:34245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqO-0006v4-V9 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:41 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpg-0006oU-G8 for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:57 -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 mx1.riseup.net (Postfix) with ESMTPS id 4PHBpq12YhzDqJM for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498451; bh=oVHeEFoal8LlQS3wdZxcHHsGbwHcCoHL9C0iYLCPNHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rvo9oG6yoFbl3L6g9RE7Z4NOguA/OwbuCg2C+5Pbug1moJDmmVuZJFcEVJWeB/Wcg JumpWHwVSlBovajRPOqM9x/2JbYIAL3Lx6jcx0+LsrKx36QbaX8l+swRxReBGhUvkM F12szWBh6C6ZO1Qp56jkK9jXBLsXnWlfG+v/XT9E= X-Riseup-User-ID: 58633DBC71EADC879D28919F441881DA7777E96183A26B193E4F525F0DDEB46A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpp217tz1y8Z; Wed, 15 Feb 2023 22:00:50 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:58 +0100 Message-Id: <20230215220028.18575-10-raingloom@riseup.net> In-Reply-To: <20230215220028.18575-1-raingloom@riseup.net> References: <20230215220028.18575-1-raingloom@riseup.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: raingloom * gnu/packages/ocaml.scm (ocaml-functoria): New variable. --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 532a6b4d3d..bf57dc153a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3731,6 +3731,29 @@ (define-public ocaml-mirage-runtime applications built with MirageOS") (license license:isc))) +(define-public ocaml-functoria + (package + (inherit ocaml-functoria-runtime) + (name "ocaml-functoria") + (build-system dune-build-system) + (arguments + '(#:package "functoria" + ;; TODO again, wants opam, other tests seem to pass + ;; look for a way to disable tests that want network access + #:tests? #f)) + (propagated-inputs (list ocaml-cmdliner ocaml-rresult ocaml-result + ocaml-astring ocaml-fmt ocaml-logs ocaml-bos + ocaml-fpath ocaml-emile ocaml-uri)) + (native-inputs (list ocaml-alcotest ocaml-functoria-runtime)) + (home-page "https://github.com/mirage/mirage") + (synopsis + "DSL to organize functor applications") + (description + "DSL to describe a set of modules and functors, their types and +how to apply them in order to produce a complete application. The main use +case is mirage.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl")