From patchwork Wed Feb 15 21:59:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46960 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 213D216889; Wed, 15 Feb 2023 22:01:29 +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=ham 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 E2FCB16876 for ; Wed, 15 Feb 2023 22:01:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpp-0001Ew-IP; Wed, 15 Feb 2023 17:01: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 1pSPpn-0001CK-Ei for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01: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 1pSPpn-00029D-3Y for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpm-0006r1-VW for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01: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.167649845426220 (code B ref 60673); Wed, 15 Feb 2023 22:01:02 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:54 +0000 Received: from localhost ([127.0.0.1]:34185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpe-0006oi-5q for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:54 -0500 Received: from mx1.riseup.net ([198.252.153.129]:50030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpX-0006ng-26 for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:48 -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 4PHBpd4SPgzDqfh for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498441; bh=auuIg985qPa+VqW4U9hmXiawbyTKS1HlSntmgnkWFU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JM/zsE6Euszf5dutuNgAhMdb/4Z0imvmlCVRG0ecaqMUGoM5uiEVCjzrn0RiNGn4O hT8L9JvT0u52fANIezJP5J1Ps1cMx3sg8avS+qN8FiLXajwhuZ0PzVqFsTG83ptXQX 9rVhdOrYYlbwdrnyQGv0egeki3LmBpwT2BTgZlMI= X-Riseup-User-ID: D7D74E6E390780A15EA8C6B7CA1D9D0E2F73B9D7DBB6F48620AD597AEA0B1477 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpc535Yz1y8Z; Wed, 15 Feb 2023 22:00:40 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:50 +0100 Message-Id: <20230215220028.18575-2-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-domain-name): 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 0cc92c3e85..75f112f0ac 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Garek Dyszel +;;; Copyright © 2023 Csepp ;;; ;;; This file is part of GNU Guix. ;;; @@ -3529,6 +3530,28 @@ (define-public ocaml-ocp-index (license (list license:gpl3+ license:lgpl2.1+)))) +(define-public ocaml-domain-name + (package + (name "ocaml-domain-name") + (version "0.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hannesm/domain-name/") + (commit (string-append "v" version)))) + (file-name name) + (sha256 + (base32 + "1a669zz1pc7sqbi1c13jsnp8algcph2b8gr5fjrjhyh3p232770k")))) + (build-system dune-build-system) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/hannesm/domain-name") + (synopsis "RFC 1035 Internet domain name data structure and parser") + (description + "Parses and constructs RFC compliant domain names. The invariants on the +length of domain names are preserved throughout the module.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 21:59:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46972 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 AEB2016889; Wed, 15 Feb 2023 22:02:39 +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 EE1FC16876 for ; Wed, 15 Feb 2023 22:02:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpq-0001FC-2x; Wed, 15 Feb 2023 17:01:06 -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 1pSPpn-0001Cy-Sd for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01: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 1pSPpn-00029X-Fn for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpn-0006rA-Bo for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 02/39] gnu: Add ocaml-macaddr. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:03 +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.167649845526232 (code B ref 60673); Wed, 15 Feb 2023 22:01:03 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:55 +0000 Received: from localhost ([127.0.0.1]:34188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpe-0006or-Jc for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:55 -0500 Received: from mx0.riseup.net ([198.252.153.6]:50700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpY-0006ni-6H for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:48 -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 4PHBpf61KPz9syh for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498442; bh=iSzeM1ALDI8XRs1DbTyd6PScJWbFBoB6uGemipKw8sk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tCAZfQanlEzWQYguMZWhx0Ai8wuFcpsDdQjhHzP8BwZuIn+UMJxBndZBtosRn3F93 d836aiwsOg6oGscIFx5HlZrgYkC9t8XDgL3QV2ojCjtlCbdYxxkrOqoVVciWP+re4d weQGQReyZLZ6g/piruJms/aH81IenkESo7N9WYoc= X-Riseup-User-ID: 1ED0D9D7CBC416A515F26A7F25B3181298D830AB36D640C47FFE58971E19326D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpd6fKsz1y8Z; Wed, 15 Feb 2023 22:00:41 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:51 +0100 Message-Id: <20230215220028.18575-3-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-macaddr): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 75f112f0ac..7fb32ade5a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3552,6 +3552,35 @@ (define-public ocaml-domain-name length of domain names are preserved throughout the module.") (license license:isc))) +(define-public ocaml-macaddr + (package + (name "ocaml-macaddr") + (version "5.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/ocaml-ipaddr/") + (commit (string-append "v" version)))) + (file-name name) + (sha256 + (base32 + "1zgwx0ms3l4k4dzwnkrwq4zzqjrddjsvqn66mbd0rm6aq1ib019d")))) + (build-system dune-build-system) + (arguments '(#:package "macaddr")) + (propagated-inputs (list ocaml-cstruct ocaml-domain-name)) + (native-inputs (list ocaml-ounit2 ocaml-ppx-sexp-conv)) + (home-page "https://github.com/mirage/ocaml-ipaddr") + (synopsis "OCaml library for manipulation of MAC address representations") + (description + "Features: +@itemize +@item MAC-48 (Ethernet) address support +@item @code{Macaddr} is a @code{Map.OrderedType} +@item All types have sexplib serializers/deserializers optionally via the +@code{Macaddr_sexp} library +@end itemize") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 21:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46964 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 E4E1916889; Wed, 15 Feb 2023 22:01:52 +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=ham 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 3610E16876 for ; Wed, 15 Feb 2023 22:01:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpp-0001F0-Qy; Wed, 15 Feb 2023 17:01: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 1pSPpo-0001Dk-8K for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:04 -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 1pSPpn-00029r-VG for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpn-0006rI-QZ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 03/39] gnu: Add ocaml-ipaddr. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:03 +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.167649845526245 (code B ref 60673); Wed, 15 Feb 2023 22:01:03 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:55 +0000 Received: from localhost ([127.0.0.1]:34191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpf-0006p3-3j for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:55 -0500 Received: from mx1.riseup.net ([198.252.153.129]:50042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpZ-0006nk-CC for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:49 -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 4PHBph0GxszDqJM for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498444; bh=62tZflGtBVYqQTLRk51m8HYlossnt1mjfoyf7Sepgo8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M4W6S5aMqB643xLEz+flz4rjEX5xYOIPZYnit44BpHCjdHbFHkgdFKCB1Iw5LsV5d EDypCZ4XFL7gfjaIUzepQYSZf6MFe8XwiV2BVnVywSQk0kA6W8ZpG9kL2iwKJVKQiO x4ZrFj1PE+lrxN/wkk13nHPZUkUlD/92KhavaO28= X-Riseup-User-ID: FE44144BDBEB55265E8C407B62111658B0FA93BAB4D10C2EE857717BB655BE8D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpg0vDFz1y8Z; Wed, 15 Feb 2023 22:00:42 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:52 +0100 Message-Id: <20230215220028.18575-4-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-ipaddr): New variable. --- gnu/packages/ocaml.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7fb32ade5a..e3e63c26b4 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3581,6 +3581,19 @@ (define-public ocaml-macaddr @end itemize") (license license:isc))) +(define-public ocaml-ipaddr + ;; same repo and versions as ocaml-macaddr + (package + (inherit ocaml-macaddr) + (name "ocaml-ipaddr") + (arguments '(#:package "ipaddr")) + (propagated-inputs (list ocaml-macaddr ocaml-domain-name)) + (synopsis + "Library for manipulation of IP (and MAC) address representations") + (description + "IP address types with serialization, supporting a wide range of RFCs.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 21:59:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46971 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 4834A1688A; Wed, 15 Feb 2023 22:02:39 +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=ham 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 396DE16888 for ; Wed, 15 Feb 2023 22:02:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpq-0001FF-3C; Wed, 15 Feb 2023 17:01:06 -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 1pSPpo-0001E5-QL for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:04 -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 1pSPpo-0002AF-IE for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpo-0006rV-Do for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 04/39] gnu: Add ocaml-opam-monorepo. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:04 +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.167649845626257 (code B ref 60673); Wed, 15 Feb 2023 22:01:04 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:56 +0000 Received: from localhost ([127.0.0.1]:34194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpf-0006pG-JT for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:55 -0500 Received: from mx1.riseup.net ([198.252.153.129]:50048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpa-0006nn-ML for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:51 -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 4PHBpj1Xn5zDrHd for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498445; bh=Xu2Jj67HtGDjFetJmf34Bu4ML+AlkIElNhNzczY7d10=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y2lKYGLZ5SZnJTgYwk6S6iI5r2/bzhmLMEcAAb+zZuuj8pCxAa5w1UKiiDhReh3N3 X+uSLnH1gLw68xDvBio4kZhkF8ZqivkMYfH5PYMHZCEzLbmNOcy78u8IS6caSLsO/I /6PnS/5MJiTbRc8vmDeoXqa41XTSxtCwRnBgICtM= X-Riseup-User-ID: 5208600694FB648B73161280EC41A00FE7BABA41F2CB67C02CA32BF636E02D93 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBph2Fzdz1y8Z; Wed, 15 Feb 2023 22:00:44 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:53 +0100 Message-Id: <20230215220028.18575-5-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-opam-monorepo): New variable. --- gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index e3e63c26b4..d9b0d74c80 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -976,6 +976,39 @@ (define-public opam ;; The 'LICENSE' file waives some requirements compared to LGPLv3. (license license:lgpl3))) +(define-public ocaml-opam-monorepo + (package + (name "ocaml-opam-monorepo") + (version "0.3.5") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/tarides/opam-monorepo/") + (commit version))) + (file-name name) + (sha256 + (base32 + "09lq788b1sai4v1nxd16b00pw0m55plcwrx3f9v5a90gpxg0a6sc")))) + (build-system dune-build-system) + (arguments + ;; TODO + ;; Too many tests require a fully initialized opam, disabling them would + ;; be a huge pain. "Mocking" opam init is difficult because it requires + ;; networking access. + '(#:tests? #f)) + ;; TODO: not entirely clear if these should be native, test cross-building + (native-inputs (list ocaml-odoc + pkg-config)) + ;; (propagated-inputs lablgtk3) optional and is currently failing to build + (home-page "https://github.com/tarides/opam-monorepo") + (synopsis "Assemble and manage fully vendored Dune repositories") + (description + "The opam monorepo plugin provides a convenient interface to bridge the +opam package manager with having a local copy of all the source code required +to build a project using the dune build tool.") + (license license:isc))) + (define-public ocaml-camlp-streams (package (name "ocaml-camlp-streams") From patchwork Wed Feb 15 21:59:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46973 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 07DB21688B; Wed, 15 Feb 2023 22:02:42 +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=ham 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 714E41687E for ; Wed, 15 Feb 2023 22:02:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpq-0001Fb-HC; Wed, 15 Feb 2023 17:01:06 -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 1pSPpp-0001Ee-8s for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -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 1pSPpo-0002AL-W3 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpo-0006rd-RL for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 05/39] gnu: Add ocaml-pecu. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:04 +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.167649845626264 (code B ref 60673); Wed, 15 Feb 2023 22:01:04 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:56 +0000 Received: from localhost ([127.0.0.1]:34196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpg-0006pS-0O for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:56 -0500 Received: from mx1.riseup.net ([198.252.153.129]:50056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpb-0006no-NM for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:52 -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 4PHBpk2hLPzDr44 for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498446; bh=FTb2rnDywXRrY1y+vj7XfjAZcpR74WHj2HjymhB2tdE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BfSQefG/g+wxr+118lIhEEy6QpfOvNzZuNK673O5GiFY5Vs2fwf+vSYrV7EMvlNGM izBrAwzdi641KEhAllBSR+TnJ7l8mP1oPqfDaqi6+yKQJu0ZdjHLeWwQrXekOk/0yJ l0tOT6oJ3qXy9BxB/sIN68NTgyOU4eA29sZvc8q4= X-Riseup-User-ID: F9AF2F510536C8492922E20CC69F7AE671B4372272F0D556486E474770516CFA Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpj3bKjz1y8Z; Wed, 15 Feb 2023 22:00:45 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:54 +0100 Message-Id: <20230215220028.18575-6-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-pecu): New variable. --- gnu/packages/ocaml.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d9b0d74c80..17230b5023 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3627,6 +3627,27 @@ (define-public ocaml-ipaddr "IP address types with serialization, supporting a wide range of RFCs.") (license license:isc))) +(define-public ocaml-pecu + (package + (name "ocaml-pecu") + (version "0.6") + (source (origin + (method url-fetch) + (uri + "https://github.com/mirage/pecu/releases/download/v0.6/pecu-v0.6.tbz") + (sha256 + (base32 + "1iz5jj9lyl1pah8dfni4wv0qml0ir5zknv4zhw7v50sc8kdbglm9")))) + (build-system dune-build-system) + (native-inputs (list ocaml-fmt ocaml-alcotest ocaml-crowbar ocaml-astring)) + (home-page "https://github.com/mirage/pecu") + (synopsis "Encoder/Decoder of Quoted-Printable (RFC2045 & RFC2047)") + (description + "This package provides a non-blocking encoder/decoder of Quoted-Printable +according to RFC2045 and RFC2047 (about encoded-word). Useful to translate +contents of emails.") + (license license:expat))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 21:59:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46963 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 65A3416888; Wed, 15 Feb 2023 22:01:47 +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 43AF016876 for ; Wed, 15 Feb 2023 22:01:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPpr-0001Ga-IN; Wed, 15 Feb 2023 17:01:07 -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 1pSPpp-0001Ez-Ny for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -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 1pSPpp-0002AR-FF for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPpp-0006rk-9k for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 06/39] gnu: Add ocaml-emile. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:05 +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.167649845726278 (code B ref 60673); Wed, 15 Feb 2023 22:01:05 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:57 +0000 Received: from localhost ([127.0.0.1]:34199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpg-0006pZ-GP for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:57 -0500 Received: from mx0.riseup.net ([198.252.153.6]:49936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpc-0006nw-UY for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:53 -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 4PHBpl41Mqz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498447; bh=ZA9Qj3NTLewW/hT0GHBy2cp0dVbapvCgWniaBrpfmLo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R4De5ISO6yuTNto8W2UDPa92f38zgPWY4DDNLwRCo7eizVZtKC9dnSCNITxHUxDl+ W9KeDYrciaAgGhr1QOvk3yumBGr2BdZTHe4Nmc63Qu03E/I/cA1dRWfpXPGoVSk1gn kytJ76BfIGfPZTG6p7GSoEM+DXYzbOGldYQOL9Ig= X-Riseup-User-ID: 6018F9EEAFF50A4EC00C5D46833888F1E905BDC7630139490D6C376963544F73 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpk50D9z1y8Z; Wed, 15 Feb 2023 22:00:46 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:55 +0100 Message-Id: <20230215220028.18575-7-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-emile): New variable. --- gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 17230b5023..f6371983d3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3648,6 +3648,33 @@ (define-public ocaml-pecu contents of emails.") (license license:expat))) +(define-public ocaml-emile + (package + (name "ocaml-emile") + (version "1.1") + (source (origin + (method url-fetch) + (uri + "https://github.com/mirage/emile/releases/download/v1.1/emile-v1.1.tbz") + (sha256 + (base32 + "0r1141makr0b900aby1gn0fccjv1qcqgyxib3bzq8fxmjqwjan8p")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-angstrom + ocaml-ipaddr + ocaml-base64 + ocaml-pecu + ocaml-bigstringaf + ocaml-uutf)) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/mirage/emile") + (synopsis "Parser of email address according RFC822") + (description + "This package provides a parser of email address according RFC822, RFC2822, +RFC5321 and RFC6532. It handles UTF-8 email addresses and encoded-word +according RFC2047.") + (license license:expat))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 21:59:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46962 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 2FE3A16889; Wed, 15 Feb 2023 22:01:41 +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=ham 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 8486516876 for ; Wed, 15 Feb 2023 22:01:40 +0000 (GMT) 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 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-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") From patchwork Wed Feb 15 21:59:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46981 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 9978C16888; Wed, 15 Feb 2023 22:03:04 +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 3D29616876 for ; Wed, 15 Feb 2023 22:03:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr5-00027t-TX; Wed, 15 Feb 2023 17:02:23 -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 1pSPqo-0001mL-5R for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02: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 1pSPqn-0002Rq-So for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqn-000703-N3 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 08/39] gnu: Add ocaml-mirage-runtime. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:05 +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.167649851426676 (code B ref 60673); Wed, 15 Feb 2023 22:02:05 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:54 +0000 Received: from localhost ([127.0.0.1]:34259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqb-0006w6-MW for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:54 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpf-0006oN-AX for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:55 -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 4PHBpn6r53zDqfh for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498450; bh=q6uP0j2Wk4Zi6DKY+9QIZjHCRmJAUee+SY23TmdwxJ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KhB6gKqQ91H5bcv0/eMfCF5PGcALKCjzqHmqsXLBrikw0eDHmeKz6Ft2Zm4rd3usk Vds1oKV5VVy8G0Lzd6hmTH77wPtT/rVj9Qz5ITMNkP+uLbiFK7WZs9JyY6CjPtimYS lql3ZeEMyWiqBUoUzSctfIVNvS7wiq5gGc/rQoXY= X-Riseup-User-ID: 71D51C7C6DA98A3BC535D32F2EB81A3AED90CF000D1A485D224358B0A94516B6 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpn0Qw5z1y8Z; Wed, 15 Feb 2023 22:00:48 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:57 +0100 Message-Id: <20230215220028.18575-9-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-mirage-runtime): New variable. --- gnu/packages/ocaml.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3ad0ccbb76..532a6b4d3d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3710,6 +3710,27 @@ (define-public ocaml-functoria-runtime "This is the runtime support library for code generated by functoria.") (license license:isc))) +(define-public ocaml-mirage-runtime + (package + (inherit ocaml-functoria-runtime) + (name "ocaml-mirage-runtime") + (build-system dune-build-system) + (arguments + '(#:package "mirage-runtime" + ;; 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-ipaddr ocaml-functoria-runtime ocaml-fmt + ocaml-logs ocaml-lwt)) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/mirage/mirage") + (synopsis + "The base MirageOS runtime library, part of every MirageOS unikernel") + (description + "This package provides a bundle of useful runtime functions for +applications built with MirageOS") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") 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") From patchwork Wed Feb 15 21:59:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46967 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 A797816889; Wed, 15 Feb 2023 22:02:21 +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=ham 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 2C52016876 for ; Wed, 15 Feb 2023 22:02:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqo-0001mU-An; Wed, 15 Feb 2023 17:02:06 -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 1pSPqm-0001jg-2w for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:04 -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 1pSPql-0002RA-PJ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPql-0006zQ-L3 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 10/39] gnu: Add ocaml-mirage. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:03 +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.167649851226639 (code B ref 60673); Wed, 15 Feb 2023 22:02:03 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:52 +0000 Received: from localhost ([127.0.0.1]:34249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqa-0006vU-0v for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:52 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPph-0006ob-Np for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:58 -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 4PHBpr2rQRzDqtC for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498452; bh=gNuqj3fQsjBv1yPix71aCbZ1CJ7zfaxZEAfvs7u+Y/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oJBMY7OfOZmMOF4WrmsCCLiL0Dv+fap8gNWbaxBuvcICfPabKk6qgY2HQXwx/VPuF Naflcp1clc6GViJdl/Vt8+7qKOMiYOh52ZtHSfGrryZF4gg8r58GFh/x9eHtMECCJD sj8E6zs3ym3jn0ZtmvA4Hal/zin+QMwFSj5RS/zs= X-Riseup-User-ID: 63AC099238AB517E97C3184A5C0BFC2854090FB20B8197D3C202D4D87157F381 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpq3LqGz1y8Z; Wed, 15 Feb 2023 22:00:51 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 22:59:59 +0100 Message-Id: <20230215220028.18575-11-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-mirage): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bf57dc153a..d89b538d31 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3754,6 +3754,30 @@ (define-public ocaml-functoria case is mirage.") (license license:isc))) +(define-public ocaml-mirage + (package + (inherit ocaml-functoria-runtime) + (name "ocaml-mirage") + (build-system dune-build-system) + (arguments + '(#:package "mirage" + ;; 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-astring ocaml-bos ocaml-functoria ocaml-ipaddr ocaml-logs + ocaml-mirage-runtime ocaml-opam-monorepo)) + (native-inputs (list ocaml-alcotest ocaml-fmt)) + (home-page "https://github.com/mirage/mirage") + (synopsis + "The MirageOS library operating system") + (description + "Library operating system that constructs unikernels for secure, +high-performance network applications across a variety of cloud computing and +mobile platforms. Code can be developed on a normal OS and then compiled into +a fully-standalone, specialised unikernel.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 22:00:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46966 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 1DC2016888; Wed, 15 Feb 2023 22:02:15 +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 51F6216876 for ; Wed, 15 Feb 2023 22:02:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPps-0001H4-Py; Wed, 15 Feb 2023 17:01:08 -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-0001FM-A2 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-0002Ac-1I 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 1pSPpp-0006ry-Qx for guix-patches@gnu.org; Wed, 15 Feb 2023 17:01:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:01:05 +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.167649845826296 (code B ref 60673); Wed, 15 Feb 2023 22:01:05 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:00:58 +0000 Received: from localhost ([127.0.0.1]:34202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPph-0006po-6i for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:57 -0500 Received: from mx0.riseup.net ([198.252.153.6]:49936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpd-0006nw-Nh 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 4PHBps3m1Mz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498453; bh=N2G/OtIO7KqjezkmPoui6OlyuQsEHCsjCktuFtfLYpM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lVhgHi0tE/xyA3gWhlgAgFGWz/zpgPv69zmQxlhmM2r+4A+8Jrfb/0OOaSs7uXQT/ eWAvr9/ejcBvWuhCtiy7dmhNwCe4FUBO+Snpupzpzgg5bEmutBRL1DQ5rxMZSGILGE 640WEAklXfLevDL/3eGaJlmlnL69GnIP7bvvYZjs= X-Riseup-User-ID: 9FD968CC0C43D79ECADB19542323DF5AFC08C4A118567FED635028D3CAEC5B16 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpr4hVmz1y8Z; Wed, 15 Feb 2023 22:00:52 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:00 +0100 Message-Id: <20230215220028.18575-12-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-duration): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index d89b538d31..263ad9d200 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3778,6 +3778,30 @@ (define-public ocaml-mirage a fully-standalone, specialised unikernel.") (license license:isc))) +(define-public ocaml-duration + (package + (name "ocaml-duration") + (version "0.2.1") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/hannesm/duration/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vvxi0ipxmdz1k4h501brvccniwf3wpc32djbccyyrzraiz7qkff")))) + (build-system dune-build-system) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/hannesm/duration") + (synopsis "Conversions to various time units") + (description + "This package provides a duration is represented in nanoseconds as an +unsigned 64 bit integer. This has a range of up to 584 years. Functions +provided check the input and raise on negative or out of bound input.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 22:00:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46977 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 5B4FD1688B; Wed, 15 Feb 2023 22:02:57 +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=ham 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 6D73D16888 for ; Wed, 15 Feb 2023 22:02:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqu-0001sa-Jm; Wed, 15 Feb 2023 17:02:15 -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 1pSPqn-0001ku-PE for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -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 1pSPqn-0002Rb-Fh for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqn-0006zv-AW for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 12/39] gnu: Add ocaml-mirage-unix. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:05 +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.167649851326669 (code B ref 60673); Wed, 15 Feb 2023 22:02:05 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:53 +0000 Received: from localhost ([127.0.0.1]:34257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqb-0006vy-C4 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:53 -0500 Received: from mx0.riseup.net ([198.252.153.6]:49936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpe-0006nw-Tm for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:55 -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 4PHBpt51Wpz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498454; bh=Ja/o422HJqTDWdZetsXlhuKsayqHsmG1LNj20+IZuh8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RQjeFSKamqRVPmq8P2kD/h6XBkwpyV8zcDsNddjn/xpTj9r9YBJjONmqD16xGhQif ti7nntj8LVzh58F05+HeDCPMcgIeuJv/mimC6y9z/Rikzp3Bznk6OV8sbgRTOWzz6+ VRKGB835CJlRTITPs4VFUoHKBMsFsLSYX1PCrpFc= X-Riseup-User-ID: 4ABB62CBD41A504D760009E3546FC1151B894F35A941CEDC6910BD70F9B28FD3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBps63jPz1y8Z; Wed, 15 Feb 2023 22:00:53 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:01 +0100 Message-Id: <20230215220028.18575-13-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-mirage-unix): New variable. --- gnu/packages/ocaml.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 263ad9d200..f2ff6b6e15 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3802,6 +3802,27 @@ (define-public ocaml-duration provided check the input and raise on negative or out of bound input.") (license license:isc))) +(define-public ocaml-mirage-unix + (package + (name "ocaml-mirage-unix") + (version "5.0.1") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/mirage/mirage-unix/releases/download/v" + version "/mirage-unix-5.0.1.tbz")) + (sha256 + (base32 + "1y44hvsd5lxqbazwkv9n6cn936lpn8l7v82wf55w4183fp70nnjk")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-lwt ocaml-duration ocaml-mirage-runtime)) + (home-page "https://github.com/mirage/mirage-unix") + (synopsis "Unix core platform libraries for MirageOS") + (description + "This package provides the MirageOS `OS` library for Unix targets, which +handles the main loop and timers.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 22:00:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46989 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 B787C16888; Wed, 15 Feb 2023 22:03: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 B043116876 for ; Wed, 15 Feb 2023 22:03: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-0001k1-FM; 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 1pSPqk-0001is-RN for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:02 -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-0002Qu-Gn 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-0006z2-C9 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 13/39] gnu: Add ocaml-mirage-time. 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.167649850126605 (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]:34243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqO-0006v2-L3 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:40 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpg-0006oN-3x for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:00:56 -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 4PHBpv6RcwzDqfh for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498455; bh=561Yvtl30jOI/nELZws8mUbvldGiHwMGqMz4rTn76Po=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=My5ou8nujEeG9v9HrFaq+Jn+jo6hUG715N7Eto9+7d1xzdBuV86+mIRtDGwsSLrxe hwj7q0iVC3dglzEwGARhA3/DGQYetTrLopwrqILezBVSe2eLk18U28ZWH0K54e8KD3 wHeBeAI4AgzKnHn1vFmPAYvtnmZg+WD9MIW0jlTg= X-Riseup-User-ID: 3E32895DB8D3AA82CA597B6003BE0DC0BADBD6F327830330506E869A963BC43A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpv0Jnnz1y8Z; Wed, 15 Feb 2023 22:00:54 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:02 +0100 Message-Id: <20230215220028.18575-14-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-mirage-time): New variable. --- gnu/packages/ocaml.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f2ff6b6e15..affd0c194a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3802,6 +3802,26 @@ (define-public ocaml-duration provided check the input and raise on negative or out of bound input.") (license license:isc))) +(define-public ocaml-mirage-time + (package + (name "ocaml-mirage-time") + (version "3.0.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/mirage/mirage-time/releases/download/v" + version "/mirage-time-v3.0.0.tbz")) + (sha256 + (base32 + "0z5xkhlgyhm22wyhwpf9r0rn4125cc3cxj6ccavyiiz2b2dr8h0d")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-lwt ocaml-duration)) + (home-page "https://github.com/mirage/mirage-time") + (synopsis "Time operations for MirageOS") + (description + "Defines the signature for time-related operations for MirageOS.") + (license license:isc))) + (define-public ocaml-mirage-unix (package (name "ocaml-mirage-unix") From patchwork Wed Feb 15 22:00:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46976 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 93C4B1688B; Wed, 15 Feb 2023 22:02:55 +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=ham 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 0416A16876 for ; Wed, 15 Feb 2023 22:02:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqo-0001mP-9o; Wed, 15 Feb 2023 17:02:06 -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 1pSPqm-0001jf-6a for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:04 -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 1pSPql-0002R6-JD for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPql-0006zG-6W for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:03 +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.167649851226631 (code B ref 60673); Wed, 15 Feb 2023 22:02:03 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:52 +0000 Received: from localhost ([127.0.0.1]:34247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqZ-0006vS-K9 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:51 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPph-0006oN-AQ 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 4PHBpx0qGbzDqph for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498457; bh=Go/q2FXOXREgFsUrvYGk/twWePakMqwfAiRRi9Eyvbc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s2CuOANdeTiW/db5SI63hA+arbxci2fevso1ejbLrMSGGywtqCFjk220XDEY9fOVO cVMiB1sjkJMzeQXoq/FAhcV8RYfUsK7vFNi8lEnfWKwdftCmgJ8OISCsS7XtEcQqBr lvBdjQ5Um1uH8f7TOGmSPMAgjsCnSwa5Ih6r5MCo= X-Riseup-User-ID: 608D65D5C790C2AF7A4081E109981C0E43C76AFF276EBC56B6BA5C26C2FD1D4B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpw1d2Hz1y8Z; Wed, 15 Feb 2023 22:00:56 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:03 +0100 Message-Id: <20230215220028.18575-15-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-lwt-ppx ocaml-cstruct-unix ocaml-cstruct-sexp): New variables. --- gnu/packages/ocaml.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index affd0c194a..552759a171 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2963,6 +2963,11 @@ (define-public ocaml-lwt locks or other synchronization primitives.") (license license:lgpl2.1))) +;; TODO this alias is not ideal but ocaml-lwt already explicitly specifies a +;; package argument and at least this way the importer doesn't try to +;; re-import it. +(define ocaml-lwt-ppx ocaml-lwt) + (define-public ocaml-lwt-dllist (package (name "ocaml-lwt-dllist") @@ -4453,6 +4458,12 @@ (define-public ocaml4.07-cstruct "0jj3whs8r3jc524i9bb67rffh7y7r157hjgvws0bkxijxpjzwkbk")))) (properties '())))) +;; TODO again, the "parent" package already has an explicit package argument, +;; so a variant package doesn't make sense, at least these aliases help the +;; importer out so it doesn't re-import things. At least hopefully. +(define ocaml-cstruct-unix ocaml-cstruct) +(define ocaml-cstruct-sexp ocaml-cstruct) + (define-public ocaml-hex (package (name "ocaml-hex") From patchwork Wed Feb 15 22:00:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46970 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 907951688A; Wed, 15 Feb 2023 22:02:33 +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=ham 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 4F95916876 for ; Wed, 15 Feb 2023 22:02:33 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqo-0001mg-Kc; Wed, 15 Feb 2023 17:02:06 -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 1pSPqm-0001jt-Fb for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -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 1pSPqm-0002RL-6A for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqm-0006zX-1V for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:04 +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.167649851226646 (code B ref 60673); Wed, 15 Feb 2023 22:02:04 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:52 +0000 Received: from localhost ([127.0.0.1]:34251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqa-0006vc-Ck for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:52 -0500 Received: from mx1.riseup.net ([198.252.153.129]:46638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpn-0006qG-Kz for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:04 -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 4PHBpy2HbHzDqk9 for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498458; bh=I4XDCovHQ2ZgENCDDEp/EbY1FjQwiWTqQrlfRiAfP84=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zp/hcGA78S1C8q2oSi5XD9GlUoU32FIe7ycuP4J/I9Gs0TVT7pvnELTH7oLwp7xEZ YHy4gTIjNr1fEFjvTEfdi93Vb3hIf8/Gs9z70P2cUXQXG8ZSyrRGE1If5ELedONnzL LNvKBYCUEk3ty/QO1cDoJ6DJH5LXdZiPnAkUykvs= X-Riseup-User-ID: 3E0478A75DE9E72EE57A697CEA4F957613DCE96EE7FF7F704F0E3A38CE3C595D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpx2yC2z1y8Z; Wed, 15 Feb 2023 22:00:57 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:04 +0100 Message-Id: <20230215220028.18575-16-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-ppx-cstruct): New variable. --- gnu/packages/ocaml.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 552759a171..dfd194faaf 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4464,6 +4464,22 @@ (define-public ocaml4.07-cstruct (define ocaml-cstruct-unix ocaml-cstruct) (define ocaml-cstruct-sexp ocaml-cstruct) +(define-public ocaml-ppx-cstruct + (package + (inherit ocaml-cstruct) + (name "ocaml-ppx-cstruct") + (properties `((upstream-name . "ppx_cstruct"))) + (arguments + '(#:package "ppx_cstruct" + ;; TODO doesn't find test deps for some reason? + ;; I have no clue why. + #:tests? #f)) + (propagated-inputs (modify-inputs (package-propagated-inputs ocaml-cstruct) + (append ocaml-cstruct ocaml-ppxlib ocaml-sexplib))) + (native-inputs (modify-inputs (package-propagated-inputs ocaml-cstruct) + (append ocaml-cstruct-sexp ocaml-findlib + ocaml-ppx-sexp-conv))))) + (define-public ocaml-hex (package (name "ocaml-hex") From patchwork Wed Feb 15 22:00:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46968 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 2A15716888; Wed, 15 Feb 2023 22:02:28 +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 902151687E for ; Wed, 15 Feb 2023 22:02:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqr-0001pU-0I; Wed, 15 Feb 2023 17:02: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 1pSPqn-0001kO-HG for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -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 1pSPqm-0002RR-IQ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqm-0006zg-Ds for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 16/39] gnu: Add ocaml-mirage-profile-unix. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:04 +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.167649851326653 (code B ref 60673); Wed, 15 Feb 2023 22:02:04 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:53 +0000 Received: from localhost ([127.0.0.1]:34253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqa-0006vj-Mk for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:52 -0500 Received: from mx0.riseup.net ([198.252.153.6]:44784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpo-0006qO-Qz for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:05 -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 4PHBpz3SYqz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:00:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498459; bh=zPo/qlg1vZ9T+K83kRLzARViw3wNkh4EyePXIO8MnPY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lzULc666xoVgGQ7NDSufw3w1G2sPSeKy8FBKRcktGWRFvMEGq+rMaZDZZiF27XNeM qmE9y1Wd2xiW5aIv+tRjWXYQpoRucMYTIw3WdwaZ+gEvvKRxyRG9F6aZeROstr8uAG xti3fYD1USBW5YHF6krJLeYepApluGpSuQQe1org= X-Riseup-User-ID: 3D60ECE05CD0B17E895EE33945C2259982DCA9E460DDC763F7DEA34E6E23A941 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpy4QpQz1y8Z; Wed, 15 Feb 2023 22:00:58 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:05 +0100 Message-Id: <20230215220028.18575-17-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-mirage-profile-unix): New variable. --- gnu/packages/ocaml.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index dfd194faaf..665bf943da 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3848,6 +3848,44 @@ (define-public ocaml-mirage-unix handles the main loop and timers.") (license license:isc))) +(define-public ocaml-mirage-profile-unix + (package + (name "ocaml-mirage-profile-unix") + (version "0.9.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/mirage-profile/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "11p3ai8g993algds9mbg4xf3is0agqah127r69fb7rm35dryzq95")))) + (build-system dune-build-system) + (arguments + '(#:package "mirage-profile-unix" + #:tests? #f ;depends on ocaml-mirage-profile which would form a loop + #:phases (modify-phases %standard-phases + ;; TODO is there a way to do this with dune build flags? + (add-after 'unpack 'disable-xen + (lambda _ + ;; this way it is not detected as a build target + (rename-file "xen" "_xen")))))) + (propagated-inputs (list ocaml-cstruct ocaml-ocplib-endian ocaml-lwt + ocaml-mtime ocaml-ppx-cstruct)) + (native-inputs (list ocaml-ppx-cstruct)) + (home-page "https://github.com/mirage/mirage-profile") + (synopsis "Collects Ocaml/Lwt profiling information in CTF format") + (description + "Used to trace execution of OCaml/Lwt programs (such as Mirage +unikernels) at the level of Lwt threads. The traces can be viewed using +JavaScript or GTK viewers provided by mirage-trace-viewer or processed by +tools supporting the Common Trace Format. +When compiled against a normal version of Lwt, OCaml's cross-module inlining +will optimise these calls away, meaning there should be no overhead in the +non-profiling case.") + (license license:bsd-2))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 22:00:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46965 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 2AFDE16889; Wed, 15 Feb 2023 22:02:10 +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=ham 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 A068D16876 for ; Wed, 15 Feb 2023 22:02:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqp-0001mx-0r; Wed, 15 Feb 2023 17:02:07 -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 1pSPqn-0001kM-GP for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -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 1pSPqn-0002RS-2d for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqm-0006zo-S3 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 17/39] gnu: Add ocaml-mirage-profile. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:04 +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.167649851326661 (code B ref 60673); Wed, 15 Feb 2023 22:02:04 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:53 +0000 Received: from localhost ([127.0.0.1]:34255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqb-0006vq-1P for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:53 -0500 Received: from mx0.riseup.net ([198.252.153.6]:44794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpq-0006qQ-00 for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:06 -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 4PHBq04dfZz9swd for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498460; bh=APMAKsyWkRkZJQksgVbZRRcwXEtXFy3PjIHgSsS7pz8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ubiz6g7npqXAVOqscqeW7PmW6nGo5RiLt0EZ9hmTWCkKXJrM9DIPL+t1AUEnquaUZ LFciWFVfYDjAsSEGQ+Oa8VMCq7hJzsHLRLJmGpLNZibBBlbC+r3HodPCljSrc77TZF htccEd5cXI1VGD6UDwF3/VX3RoHi5dmPHQgw28RY= X-Riseup-User-ID: B1EA9D261D816A929090BF283BB1694EE211B8289E65857B3AECF9F01DF80C63 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBpz5mN8z1y8Z; Wed, 15 Feb 2023 22:00:59 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:06 +0100 Message-Id: <20230215220028.18575-18-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-mirage-profile): New variable. --- gnu/packages/ocaml.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 665bf943da..fd40f7b75c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3886,6 +3886,20 @@ (define-public ocaml-mirage-profile-unix non-profiling case.") (license license:bsd-2))) +(define-public ocaml-mirage-profile + (package + (inherit ocaml-mirage-profile-unix) + (name "ocaml-mirage-profile") + (arguments + '(#:package "mirage-profile" + ;; TODO cyclic dependency with mirage-profile + ;; It could be broken using package variants, if not for + ;; propagated inputs leading to version conflicts. + #:tests? #f)) + (propagated-inputs (modify-inputs (package-propagated-inputs + ocaml-mirage-profile-unix) + (append ocaml-mirage-profile-unix))))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 22:00:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46988 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 2123016888; Wed, 15 Feb 2023 22:03:38 +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 7391816876 for ; Wed, 15 Feb 2023 22:03:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrC-0002Kc-Lx; Wed, 15 Feb 2023 17:02:30 -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 1pSPqo-0001mf-KH for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02: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 1pSPqo-0002S3-AS for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqo-00070B-4x for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 18/39] gnu: Add ocaml-mirage-clock. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02: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.167649851426683 (code B ref 60673); Wed, 15 Feb 2023 22:02:06 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:54 +0000 Received: from localhost ([127.0.0.1]:34261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqc-0006wD-1f for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:54 -0500 Received: from mx0.riseup.net ([198.252.153.6]:44810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpr-0006qm-5x for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:07 -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 4PHBq15rf6z9snQ for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498461; bh=6Xng048D0MAI3Ew94ZLZxQPlAqU7wTf/ccSzxSKM4WM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=shYFI92eAqPThkxmotGFHjtvVVd4Ux7Q4mBQM2oi/2D/ri+Y3ApWMe5iMeZsbUzPJ 1xFmQ3KWskH/CPU4XBhVA1Jng9e0TTJZkHwhdcEe7c6reQm8oZCKPOwoXZHRSR1VMQ jsBuT5pfkghO2AU5VefjyiymzYiVZ2fGoqn4+5E0= X-Riseup-User-ID: 51C5AEA793E937277ECC81D96B270712A6A63DF0B8BA7BBD3FAD90215D685F9B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq0718gz1y8Z; Wed, 15 Feb 2023 22:01:00 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:07 +0100 Message-Id: <20230215220028.18575-19-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-mirage-clock): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index fd40f7b75c..48676f0fbf 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3827,6 +3827,30 @@ (define-public ocaml-mirage-time "Defines the signature for time-related operations for MirageOS.") (license license:isc))) +(define-public ocaml-mirage-clock + (package + (name "ocaml-mirage-clock") + (version "4.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/mirage-clock") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0rkara9i3dvnzrb8jl2vkx8hgamvxnksin67wmhbv9d4i758amjy")))) + (build-system dune-build-system) + (home-page "https://github.com/mirage/mirage-clock") + (synopsis "Libraries and module types for portable clocks") + (description + "This library implements portable support for an operating system +timesource that is compatible with the MirageOS library interfaces. It +implements an @code{MCLOCK} module that represents a monotonic timesource +since an arbitrary point, and @code{PCLOCK} which counts time since the Unix +epoch.") + (license license:isc))) + (define-public ocaml-mirage-unix (package (name "ocaml-mirage-unix") From patchwork Wed Feb 15 22:00:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46980 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 E6FD616888; Wed, 15 Feb 2023 22:02:59 +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 A9E9A1688A for ; Wed, 15 Feb 2023 22:02:57 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqu-0001sz-LH; Wed, 15 Feb 2023 17:02:15 -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 1pSPqp-0001n8-1p for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -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 1pSPqo-0002SD-NQ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqo-00070I-J0 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 19/39] gnu: Add ocaml-ptime. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02: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.167649851426691 (code B ref 60673); Wed, 15 Feb 2023 22:02:06 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:54 +0000 Received: from localhost ([127.0.0.1]:34263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqc-0006wK-D0 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:54 -0500 Received: from mx0.riseup.net ([198.252.153.6]:44816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPps-0006r9-Bi for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:08 -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 4PHBq302kHz9sbx for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498463; bh=3LBzOEOJ/+/96an1a0Sqon1NNtcQ903Sio2Ea+7ecTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sIHwjF/UX+2gRpBmFWmpaQZKjBUVznGPuiMYMaTOJshBAWWsyp7ePtHF5KWxPS03/ 9z5dNXXGvjb4p8Wse7DLpQZ0KMRCYo3COXdn3n3VWLSfVPdkf65nHhe5NXFYbv0wkc 0MuMe4eHoZjWEBpRwDxb+ZjEYsvLkwiutuYeA+aU= X-Riseup-User-ID: D91F9F09F8F98DE8B17D6D6D57C4DBC1191A67567BC1416C41FE4E6A4F99CB24 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq2163yz1y8Z; Wed, 15 Feb 2023 22:01:01 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:08 +0100 Message-Id: <20230215220028.18575-20-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-ptime): New variable. --- gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 48676f0fbf..b4b81b9a41 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3851,6 +3851,36 @@ (define-public ocaml-mirage-clock epoch.") (license license:isc))) +(define-public ocaml-ptime + (package + (name "ocaml-ptime") + ;; TODO 1.1.0 has some issues, so for now we are stuck with 0.8.5 + (version "0.8.5") + (source (origin + (method url-fetch) + (uri + "https://erratique.ch/software/ptime/releases/ptime-0.8.5.tbz") + (sha256 + (base32 + "1fxq57xy1ajzfdnvv5zfm7ap2nf49znw5f9gbi4kb9vds942ij27")))) + (build-system ocaml-build-system) + (arguments + `(#:build-flags (list "build" "--with-js_of_ocaml" "true" "--tests" + "true") + #:phases (modify-phases %standard-phases + (delete 'configure)))) + (propagated-inputs (list ocaml-result js-of-ocaml)) + (native-inputs (list ocaml-findlib ocamlbuild ocaml-topkg opam)) + (home-page "https://erratique.ch/software/ptime") + (synopsis "POSIX time for OCaml") + (description + "Ptime offers platform independent POSIX time support in pure OCaml. It +provides a type to represent a well-defined range of POSIX timestamps with +picosecond precision, conversion with date-time values, conversion with RFC +3339 timestamps and pretty printing to a human-readable, locale-independent +representation.") + (license license:isc))) + (define-public ocaml-mirage-unix (package (name "ocaml-mirage-unix") From patchwork Wed Feb 15 22:00:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46983 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 DDEF81688A; Wed, 15 Feb 2023 22:03:07 +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 BF8FB16876 for ; Wed, 15 Feb 2023 22:03:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr6-00028g-Mr; Wed, 15 Feb 2023 17:02:26 -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 1pSPqp-0001o8-Cx for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02: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 1pSPqp-0002SJ-47 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqo-00070Q-VT for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02: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.167649851526698 (code B ref 60673); Wed, 15 Feb 2023 22:02:06 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:55 +0000 Received: from localhost ([127.0.0.1]:34265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqc-0006wS-Ol for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:55 -0500 Received: from mx0.riseup.net ([198.252.153.6]:44820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpt-0006rU-Gl for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:09 -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 4PHBq41PPsz9spX for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498464; bh=PVFBut35NjLIL3DtPfBcdD3ji5fbXN0YyFu0jqKygTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D6UntDDpYXnWsmF86lSQjna20xCCVXGAGm6+3I5iRoAPpMgMJOV7n/Aqj8xi7iLgo EXyoCwkcZBPVq1qrQrsp5CPV4hRpDY+C9+CSCAKGxZKMCDlwdoeVNLnZdM+1xyg4uB ep0RLYl0A948s4MP7q1ZPr0jMUD7r1za9G/Au5+I= X-Riseup-User-ID: E0F791BAC4D13DA2929E733D3596DAAB352770BB7DA5F4E0C091A3BDB1F4AD5A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq32P5Kz1y8Z; Wed, 15 Feb 2023 22:01:03 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:09 +0100 Message-Id: <20230215220028.18575-21-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-mirage-logs): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index b4b81b9a41..d6ecc92605 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3954,6 +3954,34 @@ (define-public ocaml-mirage-profile ocaml-mirage-profile-unix) (append ocaml-mirage-profile-unix))))) +(define-public ocaml-mirage-logs + (package + (name "ocaml-mirage-logs") + (version "1.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/mirage-logs/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wv2hz1dj38jzc8nabin9p8im43ghy8f3crv7rf9szyyzyrdanp2")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-logs ocaml-ptime ocaml-mirage-clock + ocaml-mirage-profile ocaml-lwt)) + (native-inputs (list ocaml-alcotest)) + (home-page "https://github.com/mirage/mirage-logs") + (synopsis + "Reporter for the Logs library that writes to stderr with timestamps") + (description + "Uses a Mirage @code{CLOCK} to write timestamped log messages. It can +also log only important messages to the console, while writing all received +messages to a ring buffer which is displayed if an exception occurs. If +tracing is enabled (via mirage-profile), it also writes each log message to +the trace buffer.") + (license license:isc))) + (define-public ocaml-ocurl (package (name "ocaml-ocurl") From patchwork Wed Feb 15 22:00:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46974 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 D379F1687E; Wed, 15 Feb 2023 22:02:42 +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=ham 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 AB79516888 for ; Wed, 15 Feb 2023 22:02:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrC-0002MF-Vd; Wed, 15 Feb 2023 17:02:31 -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 1pSPqp-0001oA-Pm for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02: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 1pSPqp-0002SP-GK for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqp-00070X-BN for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 21/39] gnu: Add ocaml-sexp-pretty. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:07 +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.167649851526705 (code B ref 60673); Wed, 15 Feb 2023 22:02:07 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:55 +0000 Received: from localhost ([127.0.0.1]:34267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqd-0006wZ-4e for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:55 -0500 Received: from mx1.riseup.net ([198.252.153.129]:46652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpu-0006rv-Oj for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:11 -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 4PHBq531C4zDq8V for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498465; bh=BOmJpGf+i46tr+1j7qoMeO70+zSduOFd3opzhJR2E58=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pAngHvcqn04eFSVp1Pss1OFzsLvtSXte1ivfG5X9NDJQaVVD1/LT1aE1cp2bYlC1R SsuHrw7sOaQXJAzKlpUbLqJVFrgothjcO2QW7269BxuHtdpu28JEoxJH0l2wnJFB2U 9UCgmO/pt5UviMWrRWCdhDdVmhXlCDBNc08RKGu4= X-Riseup-User-ID: 539A5D28FD9EC72C5D36B6EC6AA68D03F3BC969671B6D6DA24BB86BD4A8CBA97 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq43m4Wz1y8Z; Wed, 15 Feb 2023 22:01:04 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:10 +0100 Message-Id: <20230215220028.18575-22-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-sexp-pretty): 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 d6ecc92605..c00a8a8af3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6150,6 +6150,29 @@ (define-public ocaml4.07-sexplib "0ksx62zsxhz8xmdrsn41n2hbc2qbyh3bxxc6946xisvgwh42h3q3")) (properties '())))) +(define-public ocaml-sexp-pretty + (package + (name "ocaml-sexp-pretty") + (version "0.15.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/sexp_pretty") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "08z9jpvgag5f029ns0a06lcdymg00vwi232xsy1rdv82zvc0x4ah")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-base ocaml-ppx-base ocaml-sexplib ocaml-re)) + (properties `((upstream-name . "sexp_pretty"))) + (home-page "https://github.com/janestreet/sexp_pretty") + (synopsis "S-expression pretty-printer") + (description + "Library for pretty-printing s-expressions, using better indentation +rules than the default pretty printer in Sexplib.") + (license license:expat))) + (define-public ocaml-base (package (name "ocaml-base") From patchwork Wed Feb 15 22:00:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46975 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 7781016889; Wed, 15 Feb 2023 22:02: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=ham 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 DAF1816876 for ; Wed, 15 Feb 2023 22:02:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrC-0002M4-VG; Wed, 15 Feb 2023 17:02:31 -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 1pSPqq-0001oB-5n for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02: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 1pSPqp-0002SV-TR for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqp-00070e-Oa for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 22/39] gnu: Add ocaml-expect-test-helpers-core. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:07 +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.167649851526713 (code B ref 60673); Wed, 15 Feb 2023 22:02:07 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:55 +0000 Received: from localhost ([127.0.0.1]:34269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqd-0006wg-Em for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:55 -0500 Received: from mx0.riseup.net ([198.252.153.6]:47276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpv-0006sR-VT for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:12 -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 4PHBq64Mpdz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498466; bh=ABxwIY3nJJWQhkqezZxssAp47CTc8mwrAfPcVrX0bJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YcWZSVXG2MCSrq8blpPlMi9EwIbcLZUWU4x1W9ux4HT5VZvvrAgpF5R6EHMImpARc OnH9ApPu1Jpcyqvf2jDObfgK6nCHKDt0mj0I2wPCE52UBFYY3B78qjJMiGkeaOOj5e 1Ntk05z0pEu/ROxyAWfYAKtIx40/GtnM9vKbT1Bw= X-Riseup-User-ID: 4EFCAA0742AD09D87A3AB282FF682964F6132BD0F4F53D2E42E124DE6581D85A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq55BFMz1y8Z; Wed, 15 Feb 2023 22:01:05 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:11 +0100 Message-Id: <20230215220028.18575-23-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-expect-test-helpers-core): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c00a8a8af3..671e8bc355 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2636,6 +2636,34 @@ (define-public ocaml4.07-alcotest `(#:package "alcotest")) (properties '())))) +(define-public ocaml-expect-test-helpers-core + (package + (name "ocaml-expect-test-helpers-core") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/janestreet/expect_test_helpers_core") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bxs3g0zzym8agfcbpg5lmrh6hcb86z861bq40xhhfwqf4pzdbfa")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-base + ocaml-base-quickcheck + ocaml-core + ocaml-ppx-jane + ocaml-sexp-pretty + ocaml-stdio + ocaml-re)) + (properties `((upstream-name . "expect_test_helpers_core"))) + (home-page "https://github.com/janestreet/expect_test_helpers_core") + (synopsis "Helpers for writing expectation tests") + (description "Helper functions for writing expect tests.") + (license license:expat))) + (define-public ocaml-ppx-tools (package (name "ocaml-ppx-tools") From patchwork Wed Feb 15 22:00:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46986 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 B8AD716889; Wed, 15 Feb 2023 22:03:23 +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=ham 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 32AEE16876 for ; Wed, 15 Feb 2023 22:03:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr3-00025b-FY; Wed, 15 Feb 2023 17:02:21 -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 1pSPqr-0001pt-0i for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -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 1pSPqq-0002Sa-As for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqq-00070m-6Q for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 23/39] gnu: Add ocaml-intrinsics. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:08 +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.167649851626720 (code B ref 60673); Wed, 15 Feb 2023 22:02:08 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:56 +0000 Received: from localhost ([127.0.0.1]:34271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqd-0006wo-S0 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:56 -0500 Received: from mx0.riseup.net ([198.252.153.6]:47282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpx-0006sZ-4I for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:13 -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 4PHBq75ZR5z9snQ for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498467; bh=e4dUIpzKnQCFPWPqgSBndOvb9Am4gqErj0f8jPVuGEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LFwXcnbF/IWihfqGrXNINEhPX3rlQAOgdQg5HwbpTl4zdt9FYgvHfucuVVbbxOJ+D b7euzpqhFR4R5Te0NTDi3lteIJIHIF3fOhyhV2dHOn1say1W2bdqCtXjpfXdtox8zK TzTgsHJJPy0pFjJOp9+Zmj4eiYBVzLRTU1UOiU/0= X-Riseup-User-ID: 67A16AC876A57A58D7EC6E109C1B4E99B52EE07D120A1C8697981D58B7AFE045 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq66X0Rz1y8Z; Wed, 15 Feb 2023 22:01:06 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:12 +0100 Message-Id: <20230215220028.18575-24-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-intrinsics): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 671e8bc355..cb3d5594eb 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -9221,6 +9221,35 @@ (define-public ocaml-bigstringaf these missing pieces.") (license license:bsd-3))) +(define-public ocaml-intrinsics + (package + (name "ocaml-intrinsics") + (version "0.15.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/ocaml_intrinsics") + (commit (string-append "v" version)))) + (file-name name) + (sha256 + (base32 + "1mazr1ka2zlm2s8bw5i555cnhi1bmr9yxvpn29d3v4m8lsnfm73z")))) + (build-system dune-build-system) + ;; TODO figure out how to get around this error: + ;; No rule found for alias test/runtime-deps-of-tests + (arguments + '(#:tests? #f)) + (propagated-inputs (list dune-configurator)) + (native-inputs (list ocaml-expect-test-helpers-core ocaml-core)) + (properties `((upstream-name . "ocaml_intrinsics"))) + (home-page "https://github.com/janestreet/ocaml_intrinsics") + (synopsis "AMD64 intrinsics with emulated fallbacks") + (description + "Provides an OCaml interface to operations that have dedicated hardware +instructions on some micro-architectures, with default implementations using C +stubs for all targets.") + (license license:expat))) + (define-public ocaml-trie (package (name "ocaml-trie") From patchwork Wed Feb 15 22:00:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46999 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 F293D1688A; Wed, 15 Feb 2023 22:05:05 +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 0BD401687A for ; Wed, 15 Feb 2023 22:05:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrD-0002Nd-Ad; Wed, 15 Feb 2023 17:02:31 -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 1pSPqr-0001qw-Hu for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -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 1pSPqr-0002TF-68 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqr-000710-1S for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 24/39] gnu: Add ocaml-core-unix. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:09 +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.167649851626735 (code B ref 60673); Wed, 15 Feb 2023 22:02:09 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:56 +0000 Received: from localhost ([127.0.0.1]:34275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqe-0006x2-I3 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:56 -0500 Received: from mx0.riseup.net ([198.252.153.6]:47288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpy-0006sg-B0 for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:14 -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 4PHBq8711Vz9swd for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498469; bh=RDfoZ5ZzgzrI/SWIl7PVzCraI8j2fyY8hhL1rYehjK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IRiA8F9lqfhvhuao55w4hNaMaN46PJEfLXzDiRrEI08hUfgxUdGluvz77N4xqNEaR WI2xB7/cnN/knKWPV5rw7X+GrjR+AAhQ8mDRwKw8kTcqH28qWKHQybrpgYg6ujZdMf maKb0s4p5oer2ux8VbsL0XPB3Xo81WTcV88MQtjo= X-Riseup-User-ID: 3DA7ADB08118998AF2F71F2334E68533D61C26393924FADF41CE3F9BF80E803C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq80k3Qz1y8Z; Wed, 15 Feb 2023 22:01:07 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:13 +0100 Message-Id: <20230215220028.18575-25-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-core-unix): New variable. --- gnu/packages/ocaml.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index cb3d5594eb..157ef250cd 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8359,6 +8359,38 @@ (define-public ocaml4.07-core-kernel ;; MLton and sjs license:expat))))) +(define-public ocaml-core-unix + (package + (name "ocaml-core-unix") + (version "0.15.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/core_unix") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h6lqaxpp4r06a63k8yr0g9y7wc8r35v2xzqgvkiiq1ypa48zzgm")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-core + ocaml-core-kernel + ocaml-expect-test-helpers-core + ocaml-jane-street-headers + ocaml-jst-config + ocaml-intrinsics + ocaml-ppx-jane + ocaml-sexplib + ocaml-timezone + ocaml-spawn)) + (properties `((upstream-name . "core_unix"))) + (home-page "https://github.com/janestreet/core_unix") + (synopsis "Unix-specific portions of Core") + (description + "Unix-specific extensions to some of the modules defined in core and +core_kernel.") + (license license:expat))) + (define-public ocaml-timezone (package (name "ocaml-timezone") From patchwork Wed Feb 15 22:00:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46969 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 6231C16889; Wed, 15 Feb 2023 22:02:32 +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=ham 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 BFF6116876 for ; Wed, 15 Feb 2023 22:02:31 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr2-00021W-0U; Wed, 15 Feb 2023 17:02:20 -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 1pSPqs-0001rN-81 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -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 1pSPqr-0002VB-KB for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqr-000718-FO for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 25/39] gnu: Add ocaml-async-kernel. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:09 +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.167649851726742 (code B ref 60673); Wed, 15 Feb 2023 22:02:09 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:57 +0000 Received: from localhost ([127.0.0.1]:34277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqe-0006xA-Su for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:57 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpz-0006sn-Gy for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:15 -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 4PHBqB1Rs3zDqk9 for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498470; bh=sk7BXB4/hisMtconHTsvRXl81MkaCErfLqvIXyHCfpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mEVu9eGbQvIXr/a9HyxKqR0WEChyLr2nn35hky42kGGVonayzrgzcS85V3iipv7I2 7QrdIuhKS1X9sW8RIIPcmoceLDNUMOyKFtOT7yIZFLsZd0OyV3NYFRMdioSve0P1pP QTpWteym3Wu/694MI1WwnGft1OCiIVFNDWFQ8RTg= X-Riseup-User-ID: 19E319E5353F2CB83DB8585F264A88D01711FC9BE6115994D8EEF1A28F761E7C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBq929gWz1y8Z; Wed, 15 Feb 2023 22:01:09 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:14 +0100 Message-Id: <20230215220028.18575-26-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-async-kernel): New variable. --- gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 157ef250cd..ea7967e72d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8391,6 +8391,30 @@ (define-public ocaml-core-unix core_kernel.") (license license:expat))) +(define-public ocaml-async-kernel + (package + (name "ocaml-async-kernel") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/async_kernel") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01if6c8l2h64v7sk56xr8acnmj6g9whxcjrzzzvczspq88hq2bfh")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-core ocaml-core-kernel ocaml-ppx-jane)) + (properties `((upstream-name . "async_kernel"))) + (home-page "https://github.com/janestreet/async_kernel") + (synopsis "Monadic concurrency library") + (description + "Contains @code{Async}'s core data structures, like +@code{Deferred}. @code{Async_kernel} is portable, and so can be used in +JavaScript using @code{Async_js}.") + (license license:expat))) + (define-public ocaml-timezone (package (name "ocaml-timezone") From patchwork Wed Feb 15 22:00:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46978 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 06F1116891; Wed, 15 Feb 2023 22:02:58 +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=ham 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 B79FD16876 for ; Wed, 15 Feb 2023 22:02:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPqy-00020O-SA; Wed, 15 Feb 2023 17:02: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 1pSPqs-0001rO-CC for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -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 1pSPqs-0002VP-2s for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqr-00071F-U2 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 26/39] gnu: Add ocaml-async-unix. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:09 +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.167649851726749 (code B ref 60673); Wed, 15 Feb 2023 22:02:09 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:57 +0000 Received: from localhost ([127.0.0.1]:34279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqf-0006xH-75 for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:57 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq0-0006su-MU for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:17 -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 4PHBqC2cdFzDqQy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498471; bh=xl0nIeLfJpH2VF0NWSTD5vOPdlIT+mutqavBUeKgLLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tFJ50R1Bc4GWQBS+gvvAVsIhsjurm7Z7RR/Vv+nyBaXK/8TQ3YA9Gjx29gUU235I+ lRqoxw2sCWEn5drjB0QVIkoqZ6elXQjWOI2qpTANcFbaKr9bZKQYxYZuKaNUsOb8U2 9P/WwWXohNfiwZGytq1tsdybVA+G3FZHUu42ST44= X-Riseup-User-ID: DCB68D0E58E1CFA6E4ED6D46F4B78E696E3970BCFA82A0997FEAE45A67AE254A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqB3Znsz1y8Z; Wed, 15 Feb 2023 22:01:10 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:15 +0100 Message-Id: <20230215220028.18575-27-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-async-unix): New variable. --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index ea7967e72d..ed70c1e08a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8415,6 +8415,32 @@ (define-public ocaml-async-kernel JavaScript using @code{Async_js}.") (license license:expat))) +(define-public ocaml-async-unix + (package + (name "ocaml-async-unix") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/async_unix") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z4fgpn93iw0abd7l9kac28qgzgc5qr2x0s1n2zh49lsdn02n6ys")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-async-kernel ocaml-core ocaml-core-kernel + ocaml-core-unix ocaml-ppx-jane)) + (properties `((upstream-name . "async_unix"))) + (home-page "https://github.com/janestreet/async_unix") + (synopsis "Monadic concurrency library") + (description + "Unix-related dependencies for things like system calls and +threads. Using these, it hooks the Async_kernel scheduler up to either epoll +or select, depending on availability, and manages a thread pool that blocking +system calls run in.") + (license license:expat))) + (define-public ocaml-timezone (package (name "ocaml-timezone") From patchwork Wed Feb 15 22:00:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46991 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 C99C416888; Wed, 15 Feb 2023 22:04:21 +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 84B111687E for ; Wed, 15 Feb 2023 22:04:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr3-000257-9S; Wed, 15 Feb 2023 17:02:21 -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 1pSPqt-0001up-9D for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -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 1pSPqs-0002Vr-Vl for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqs-00071U-R4 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 27/39] gnu: Add ocaml-textutils-kernel. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:10 +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.167649851826764 (code B ref 60673); Wed, 15 Feb 2023 22:02:10 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:58 +0000 Received: from localhost ([127.0.0.1]:34283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqf-0006xW-UO for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:58 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq1-0006t1-Tg for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:18 -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 4PHBqD48ZFzDqtC for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498472; bh=3H597k+XAIQ5Z4aJC/eaBLKSo6BWBh1sO7jKkjfYULw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ESLd/sUgneWk3Ne+HzCNlUGHLeXKN7aRXi0QGxkJp5YoXCxMncJ2iYilakUJgKg+K hHEuBsH8Eef8JkXsVuUhXQL+XbbWFAjm4bnx4nUGVzn2AnGnl+PC4fjq12DFWcHG8a OJ68Gid6tfbCSfgVtFWDgOgOBVjzbVmY4dn8QhCI= X-Riseup-User-ID: E732B26DBC908F4E90358C5C0636487387DAFD7F84920B97E5BEBAEA61AA0A12 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqC4xr3z1y8Z; Wed, 15 Feb 2023 22:01:11 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:16 +0100 Message-Id: <20230215220028.18575-28-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-textutils-kernel): 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 ed70c1e08a..789aaf48f9 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8441,6 +8441,29 @@ (define-public ocaml-async-unix system calls run in.") (license license:expat))) +(define-public ocaml-textutils-kernel + (package + (name "ocaml-textutils-kernel") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/textutils_kernel") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "068g11d98wsb5a6ds0p5xybdmx5nx9bxa0k11dmh3l57kn4c169x")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-core ocaml-ppx-jane ocaml-uutf)) + (properties `((upstream-name . "textutils_kernel"))) + (home-page "https://github.com/janestreet/textutils_kernel") + (synopsis "Text output utilities") + (description + "The subset of textutils using only core_kernel and working in +javascript.") + (license license:expat))) + (define-public ocaml-timezone (package (name "ocaml-timezone") From patchwork Wed Feb 15 22:00:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46992 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 CCDA416888; Wed, 15 Feb 2023 22:04:37 +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 DB9D81687E for ; Wed, 15 Feb 2023 22:04:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr4-000263-1M; Wed, 15 Feb 2023 17:02:22 -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 1pSPqr-0001qr-4z for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:09 -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 1pSPqq-0002Sg-QH for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqq-00070t-K4 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 28/39] gnu: Add ocaml-textutils. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:08 +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.167649851626727 (code B ref 60673); Wed, 15 Feb 2023 22:02:08 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:56 +0000 Received: from localhost ([127.0.0.1]:34273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqe-0006wv-7c for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:56 -0500 Received: from mx0.riseup.net ([198.252.153.6]:47282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPpy-0006sZ-78 for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:14 -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 4PHBqF5R08z9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498473; bh=36sTwjrgQKoGsJ33VRtSS25dWcLkmU5+lkvkDNRUtb4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e0ZlocJMh3MzDHRVob6Bhp6+nw6/fjp5IK56ZtzNY/ZJXIMaqj2CCZdjETSK+O2rG FVCgr8fUVyBk5355a+BrqKkPKffYn7a7aI+BSGvpjqmmr89zWJLN7v+lBffl8m8u4o veQel5mAYnsR43SIrWAXzvJGTAqV6uaVPIYdziTA= X-Riseup-User-ID: ABE948540ECA29434C8DAE3923C21742F40C5B50E651ADB9EC1AB1D20A327C83 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqD6JnPz1y8Z; Wed, 15 Feb 2023 22:01:12 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:17 +0100 Message-Id: <20230215220028.18575-29-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-textutils): New variable. --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 789aaf48f9..8e313d74bb 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8464,6 +8464,32 @@ (define-public ocaml-textutils-kernel javascript.") (license license:expat))) +(define-public ocaml-textutils + (package + (name "ocaml-textutils") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/textutils") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wass49h645wql9b7nck2iqlkf4648dkxvlvxixr7z80zcnb5rxr")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-core + ocaml-core-kernel + ocaml-core-unix + ocaml-ppx-jane + ocaml-textutils-kernel + ocaml-uutf)) + (home-page "https://github.com/janestreet/textutils") + (synopsis "Text output utilities") + (description + "Utilities for working with terminal output, such as color printing.") + (license license:expat))) + (define-public ocaml-timezone (package (name "ocaml-timezone") From patchwork Wed Feb 15 22:00:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46997 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 B8CC516889; Wed, 15 Feb 2023 22:04:47 +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=ham 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 9E32416888 for ; Wed, 15 Feb 2023 22:04:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr4-000269-I1; Wed, 15 Feb 2023 17:02:22 -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 1pSPqu-0001v7-G4 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -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 1pSPqu-0002WK-7A for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqu-00071q-2Q for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 29/39] gnu: Add ocaml-protocol-version-header. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:12 +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.167649851926787 (code B ref 60673); Wed, 15 Feb 2023 22:02:12 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:59 +0000 Received: from localhost ([127.0.0.1]:34289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqg-0006xs-Sn for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:59 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq4-0006tK-9Q for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:20 -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 4PHBqG6qRKzDr44 for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498475; bh=T6+P4kOHHNtmsNqoiBjI+1TUREFhnZPK1jbKvsMAQjQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FzSyg3Ayj0wrUW+GORGwTBjDek27vKMiiwriSbbF41pVvusjw0mb++gOMnXBRcLr4 PniwrbGazTQEt5EsMj+iIC4XbFL0idfOeycKSKrKZjG3iykE4FjE8WusM47X/ze+zs UbZeCIigz8E5oU0ODgF6dD3Bm8ehEsh/tEV/xlJ4= X-Riseup-User-ID: 3B29CC786AB4C694BFC451C865E4C9F06D8351D8EE52337808C6D77AE3ECC1E1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqG0mgfz1yV4; Wed, 15 Feb 2023 22:01:13 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:18 +0100 Message-Id: <20230215220028.18575-30-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-protocol-version-header): New variable. --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 8e313d74bb..86c22f500c 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6867,6 +6867,32 @@ (define-public ocaml4.07-bin-prot license:asl2.0 license:bsd-3))))) +(define-public ocaml-protocol-version-header + (package + (name "ocaml-protocol-version-header") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/janestreet/protocol_version_header") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0s638cwf1357gg754rc4306654hhrhzqaqm2lp3yv5vj3ml8p4qy")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-core ocaml-ppx-jane)) + (properties `((upstream-name . "protocol_version_header"))) + (home-page "https://github.com/janestreet/protocol_version_header") + (synopsis "Protocol versioning") + (description + "This library offers a lightweight way for applications protocols to +version themselves. The more protocols that add themselves to +@code{Known_protocol}, the nicer error messages we will get when connecting to +a service while using the wrong protocol.") + (license license:expat))) + (define-public ocaml-octavius (package (name "ocaml-octavius") From patchwork Wed Feb 15 22:00:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46996 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 08E4E1688B; Wed, 15 Feb 2023 22:04:47 +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=ham 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 80BEF16876 for ; Wed, 15 Feb 2023 22:04:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrD-0002Nf-Al; Wed, 15 Feb 2023 17:02:31 -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 1pSPqu-0001w9-TN for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqu-0002WT-JQ for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqu-00071y-EM for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 30/39] gnu: Add ocaml-async-rpc-kernel. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:12 +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.167649851926794 (code B ref 60673); Wed, 15 Feb 2023 22:02:12 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:59 +0000 Received: from localhost ([127.0.0.1]:34291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqh-0006y0-8Q for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:59 -0500 Received: from mx0.riseup.net ([198.252.153.6]:36802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq5-0006tT-Mj for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:22 -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 4PHBqJ1Qyfz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498476; bh=yfhPj+BSJf9deURjsyyyZV5+oOVK0Ewiv/WUQl22skg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hImxSw5KhUh7udKNy0U/ZkciWaUyAmVsVuNTLjPnfbMI/oNao2achlvKGPn5HOR4h HKgV+BWv1yf4U/xFp8lfCdA1ZJHMXEb4EXvJuwHKdOt7knEIJuSSc6Ww+x3J0+INhw qMHuv9jbyRuf51EEdxOwaG6s8hJjlB2Zu0X98al0= X-Riseup-User-ID: 4A365F57D248F31D86B2DD82A06661057BEDC8EE6599CF2306A3129A784D2C78 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqH26nxz1y8Z; Wed, 15 Feb 2023 22:01:15 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:19 +0100 Message-Id: <20230215220028.18575-31-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-async-rpc-kernel): New variable. --- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 86c22f500c..cda38dc381 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8467,6 +8467,31 @@ (define-public ocaml-async-unix system calls run in.") (license license:expat))) +(define-public ocaml-async-rpc-kernel + (package + (name "ocaml-async-rpc-kernel") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/async_rpc_kernel") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b5rp5yam03ir4f1sixpzjg1zdqmkb7lvnaa82kac4fzk80gfrfr")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-async-kernel ocaml-core ocaml-ppx-jane + ocaml-protocol-version-header)) + (properties `((upstream-name . "async_rpc_kernel"))) + (home-page "https://github.com/janestreet/async_rpc_kernel") + (synopsis "Platform-independent core of Async RPC library") + (description + "Library for building RPC-style protocols. This library is the portable +part of the Unix-oriented Async_rpc library, and is actively used in +JavaScript.") + (license license:expat))) + (define-public ocaml-textutils-kernel (package (name "ocaml-textutils-kernel") From patchwork Wed Feb 15 22:00:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46995 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 996E61688B; 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=ham 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 C94D51687E 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 1pSPr2-00022m-RQ; Wed, 15 Feb 2023 17:02:20 -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 1pSPqs-0001s9-Ss for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -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 1pSPqs-0002Vh-Hi for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqs-00071N-CE for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 31/39] gnu: Add ocaml-async. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:10 +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.167649851826757 (code B ref 60673); Wed, 15 Feb 2023 22:02:10 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:58 +0000 Received: from localhost ([127.0.0.1]:34281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqf-0006xO-Ie for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:57 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq1-0006su-Iy for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:17 -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 4PHBqK2sRVzDqQy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498477; bh=Y9rYOw22H6pwf181YpnQIoX2k31kISYvvRDpOMOZEbg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=remk/Y1fIeRj0oueP0J4j1OIlL682zdYNjFBCUds9rrBtTcT7G6yjnsS18ItF+rqw ZwpOBCXagLzUq1G/hiMEhZsWYoUVbE3/tJRLs9nmlnZ5/es65x5SOAEuvivMCqts9H hrtGwzmd81jBNRvW1IdjhzjmdR17slLuvKUQ0LkA= X-Riseup-User-ID: E3A620EF1E7978CFF27947F1B04D2237A890B6F25FDBD385105A32612531F886 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqJ3sd3z1y8Z; Wed, 15 Feb 2023 22:01:16 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:20 +0100 Message-Id: <20230215220028.18575-32-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-async): 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 cda38dc381..852c9f6f6f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8492,6 +8492,41 @@ (define-public ocaml-async-rpc-kernel JavaScript.") (license license:expat))) +(define-public ocaml-async + (package + (name "ocaml-async") + (version "0.15.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/janestreet/async") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pykmnsil754jsnr8gss91ykyjvivngx4ii0ih3nsg1x2jl9xmy2")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-async-kernel + ocaml-async-rpc-kernel + ocaml-async-unix + ocaml-core + ocaml-core-kernel + ocaml-core-unix + ocaml-ppx-jane + ocaml-ppx-log + ocaml-textutils)) + ;; TODO one test dependency is deprecated, the other is nowhere to be found + (arguments + '(#:tests? #f)) + ;; (native-inputs (list ocaml-netkit-sockets ocaml-qtest-deprecated)) + (home-page "https://github.com/janestreet/async") + (synopsis "Asynchronous execution library") + (description + "Library for asynchronous programming, i.e., programming where some part +of the program must wait for things that happen at times determined by some +external entity (like a human or another program).") + (license license:expat))) + (define-public ocaml-textutils-kernel (package (name "ocaml-textutils-kernel") From patchwork Wed Feb 15 22:00:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46985 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 3680016888; Wed, 15 Feb 2023 22:03:17 +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 8DA7A16876 for ; Wed, 15 Feb 2023 22:03:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr3-00025u-KF; Wed, 15 Feb 2023 17:02:21 -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 1pSPqt-0001ur-NS for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -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 1pSPqt-0002W0-EC for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqt-00071c-9V for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 32/39] gnu: Add ocaml-shared-memory-ring. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:11 +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.167649851826772 (code B ref 60673); Wed, 15 Feb 2023 22:02:11 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:58 +0000 Received: from localhost ([127.0.0.1]:34285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqg-0006xd-8S for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:58 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq2-0006su-RN for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:19 -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 4PHBqL4NKKzDqQy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498478; bh=TovyML90V3exTGf3qAgydyGkyyNpuzz3I6bGVbDFINU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FQ2Og4/l3V77/uXGLdxOlSGeQ01rFqXRi+8bGpmzmoYEo1XKuDWEDYxDtdf8e9q5U JMZIi8/+TV2QyDuVX1FES0SiSouYLUiYHUnPyiP0r/gwGCqTBZlACZMFSIRzGdNTDw A8cITBV2r1qYAouxkWahA5OBu3v/RyN9LubWLH34= X-Riseup-User-ID: EEEC3D442A85D64C7326C76CDE43190F95DCE4EC231396F25FC9B8BE5A7253AD Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqK5DtHz1y8Z; Wed, 15 Feb 2023 22:01:17 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:21 +0100 Message-Id: <20230215220028.18575-33-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-shared-memory-ring): New variable. --- gnu/packages/ocaml.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 852c9f6f6f..8d9d2c50c6 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3017,6 +3017,34 @@ (define-public ocaml-lwt-dllist doubly-linked list with Lwt iterators.") (license license:expat))) + +(define-public ocaml-shared-memory-ring + (package + (name "ocaml-shared-memory-ring") + (version "3.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/shared-memory-ring") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12cpbia39aifnd8rxpsra0lhssqj5qw0zygb5fd8kg58zy2clmrr")))) + (build-system dune-build-system) + (arguments + '(#:package "shared-memory-ring")) + (propagated-inputs (list ocaml-cstruct ocaml-ppx-cstruct ocaml-lwt-dllist + ocaml-mirage-profile)) + (native-inputs (list ocaml-ounit)) + (home-page "https://github.com/mirage/shared-memory-ring") + (synopsis "Xen-style shared memory rings") + (description + "Libraries for creating shared memory producer/consumer rings. The rings +follow the Xen ABI and may be used to create or implement Xen virtual +devices.") + (license license:isc))) + (define-public ocaml-luv (package (name "ocaml-luv") From patchwork Wed Feb 15 22:00:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46984 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 EF16D16888; Wed, 15 Feb 2023 22:03:08 +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 C2D651687E for ; Wed, 15 Feb 2023 22:03:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr8-0002D4-QC; Wed, 15 Feb 2023 17:02:26 -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 1pSPqu-0001v4-3B for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -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 1pSPqt-0002WC-Qx for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqt-00071j-M2 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 33/39] gnu: Add ocaml-shared-memory-ring-lwt. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:11 +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.167649851926779 (code B ref 60673); Wed, 15 Feb 2023 22:02:11 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:01:59 +0000 Received: from localhost ([127.0.0.1]:34287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqg-0006xl-Ih for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:58 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPq3-0006t1-VK for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:20 -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 4PHBqM5fQpzDqJM for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498479; bh=GqbDaEHvInrD55apuS+OMoDMTPdkoxlE8QNkTnchz7s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gm1i0rUD5N71/bU5BfocnDKEE+V0A3timXojh+RhUGvSp6/Tkll96/9d/4j4fQB/H /avVoUo9yqu9WbCwhq4hAfXqZXBdp1w/EsnDRZvLRhUxtOrdx+ZBzCi6W9dc/KNjTM XjRah2VcYD0UZOxtTmzqp0iV/GH3z5WXdqFtqiBQ= X-Riseup-User-ID: FBDD1842E9FA0A1EBC8EA102E418F969F27C3390CCF92CA170A9BD2A2BB7103A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqL6Zp0z1y8Z; Wed, 15 Feb 2023 22:01:18 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:22 +0100 Message-Id: <20230215220028.18575-34-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-shared-memory-ring-lwt): New variable. --- gnu/packages/ocaml.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 8d9d2c50c6..f3911261a8 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3045,6 +3045,16 @@ (define-public ocaml-shared-memory-ring devices.") (license license:isc))) +(define-public ocaml-shared-memory-ring-lwt + (package + (inherit ocaml-shared-memory-ring) + (name "ocaml-shared-memory-ring-lwt") + (arguments + '(#:package "shared-memory-ring-lwt")) + (propagated-inputs (modify-inputs (package-propagated-inputs + ocaml-shared-memory-ring) + (append ocaml-shared-memory-ring))))) + (define-public ocaml-luv (package (name "ocaml-luv") From patchwork Wed Feb 15 22:00:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46982 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 51E2B1688A; Wed, 15 Feb 2023 22:03:07 +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=ham 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 F2B9916888 for ; Wed, 15 Feb 2023 22:03:05 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr9-0002FN-4e; Wed, 15 Feb 2023 17:02:28 -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 1pSPqv-0001wf-8A for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqu-0002Wf-VF for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqu-000725-QX for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 34/39] gnu: Add ocaml-xenstore. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:12 +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.167649852026801 (code B ref 60673); Wed, 15 Feb 2023 22:02:12 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:02:00 +0000 Received: from localhost ([127.0.0.1]:34293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqh-0006y7-Kq for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:59 -0500 Received: from mx1.riseup.net ([198.252.153.129]:37616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqA-0006u2-9a for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:27 -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 4PHBqN6zjqzDqJM for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498481; bh=3Znmy3QzWGJq/ZWmSZkCjugXgyCMEpSlB1OFos/pHP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CIzUoCFPIy+nRZZnX/KPZ5+bvANTwkNNVIe3SQ5xm1tEDjGROftSsQmwwnfGM8kop H1z4a2UIwRf8kzXpWT0izis3XIQWAC4/NI/LREuruXR2tAfM0vqRSfvneQquqAp4K4 gnZu+BWSzlrDDpUEshTErn0iiquo6JICS23mW12Y= X-Riseup-User-ID: 51ECEBDB908B79BCFFD8847F5C18DBCBDABE49783C473438FBFF95F107A954BD Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqN0pTgz1y8Z; Wed, 15 Feb 2023 22:01:19 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:23 +0100 Message-Id: <20230215220028.18575-35-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-xenstore): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index f3911261a8..e4ab3977a0 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3055,6 +3055,35 @@ (define-public ocaml-shared-memory-ring-lwt ocaml-shared-memory-ring) (append ocaml-shared-memory-ring))))) +(define-public ocaml-xenstore + (package + (name "ocaml-xenstore") + (version "2.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/ocaml-xenstore") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1acld5gxmvnhl5iyyy5ancpm7fv9d6ns1x32krcmb62p2czd00ky")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-cstruct ocaml-ppx-cstruct ocaml-lwt)) + (native-inputs (list ocaml-ounit2)) + (home-page "https://github.com/mirage/ocaml-xenstore") + (synopsis "Xenstore protocol in pure OCaml") + (description "Repository contents: +@itemize +@item client library, a merge of the Mirage and XCP ones +@item server library +@item server instance which runs under Unix with libxc +@item server instance which runs on mirage. +@end itemize +The client and the server libraries have sets of unit-tests.") + ;; Has a linking exception, see LICENSE.md. + (license license:lgpl2.1))) + (define-public ocaml-luv (package (name "ocaml-luv") From patchwork Wed Feb 15 22:00:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46990 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 1937F16888; Wed, 15 Feb 2023 22:04:18 +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 19F1416876 for ; Wed, 15 Feb 2023 22:04:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr3-00024z-3v; Wed, 15 Feb 2023 17:02:21 -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 1pSPqv-0001wj-L6 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqv-0002Wt-Bq for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqv-00072C-6n for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 35/39] gnu: Add ocaml-io-page. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:13 +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.167649852026809 (code B ref 60673); Wed, 15 Feb 2023 22:02:13 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:02:00 +0000 Received: from localhost ([127.0.0.1]:34295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqi-0006yJ-4i for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:02:00 -0500 Received: from mx0.riseup.net ([198.252.153.6]:36808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqB-0006uA-Gm for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:27 -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 4PHBqQ1L5Kz9sbx for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498482; bh=xkt6hqeuAk682GNcbhSYQ1KwAhogqSFi4AxHGedmlHA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C4DDsvHDnDPlIWvl6k85R3Ok1Ya+dPGsmtj1YKyAPhwr//MFoD/iP9GbzK+RElIPK XTH6Z+LWIG616jwL5ZOT9NNvvFo9msYOKNa5hj7FUygvDGE+Idu5+LuDsMCEbf30ht 3RGWRahhTGlQvtOnT/JL/16AbyZzWbG7YjvnzOrE= X-Riseup-User-ID: A59E10082AED48C936227AB08456AF3CB6E4BCC76E6926DED5AAB49364985F5D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqP28B9z1y8Z; Wed, 15 Feb 2023 22:01:21 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:24 +0100 Message-Id: <20230215220028.18575-36-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-io-page): 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 e4ab3977a0..737f2cd8e8 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3084,6 +3084,29 @@ (define-public ocaml-xenstore ;; Has a linking exception, see LICENSE.md. (license license:lgpl2.1))) +(define-public ocaml-io-page + (package + (name "ocaml-io-page") + (version "3.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/io-page") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0lmvm1whdw5s7rvi7jnjzicrp2j919dkjl856jwyjlq38f7qn0zm")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-cstruct)) + (native-inputs (list pkg-config ocaml-ounit)) + (home-page "https://github.com/mirage/io-page") + (synopsis "Support for efficient handling of I/O memory pages") + (description + "IO pages are page-aligned, and wrapped in the @code{Cstruct} library to +avoid copying the data contained within the page.") + (license license:isc))) + (define-public ocaml-luv (package (name "ocaml-luv") From patchwork Wed Feb 15 22:00:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46993 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 8B27816889; Wed, 15 Feb 2023 22:04:42 +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=ham 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 0A99A16876 for ; Wed, 15 Feb 2023 22:04:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr4-000271-Qv; Wed, 15 Feb 2023 17:02:22 -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 1pSPqw-0001xL-3a for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqv-0002XC-Ob for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqv-00072K-Jx for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 36/39] gnu: Add ocaml-bheap. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:13 +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.167649852126816 (code B ref 60673); Wed, 15 Feb 2023 22:02:13 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:02:01 +0000 Received: from localhost ([127.0.0.1]:34297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqi-0006yM-Gi for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:02:00 -0500 Received: from mx0.riseup.net ([198.252.153.6]:36822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqC-0006uC-KY for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:28 -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 4PHBqR2GbLz9sNy for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498483; bh=gUWf5PHrD1/rcmeSvHaIud/sUKmIIwERPnDD0OMCDtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aFBrj8tfs4q2EY2PI1yu/b/WlpLr1JfbqSWy75YgfCOFmAwikBgnh1HnphJ9RaoDg 001Auu8c18Pond/MpjT0dY+u7vvxvkkBwF8aT5u7BxGBECTm1GueYJnmRHlBeJLfZC 02jwPQfZi4FXp3v0bLaeF2c3ECpbKmYyHykeLw3s= X-Riseup-User-ID: EB39D4FC8C1834DF4A4750EBE02A03824C6F3DE2969A75C842BAF1B1E303D1F2 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqQ3V8lz1y8Z; Wed, 15 Feb 2023 22:01:22 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:25 +0100 Message-Id: <20230215220028.18575-37-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-bheap): New variable. --- gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 737f2cd8e8..0aca8a1c83 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3107,6 +3107,28 @@ (define-public ocaml-io-page avoid copying the data contained within the page.") (license license:isc))) +(define-public ocaml-bheap + (package + (name "ocaml-bheap") + (version "2.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/backtracking/bheap") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b8md5zl4yz7j62jz0bf7lwyl0pyqkxqx36ghkgkbkxb4zzggfj1")))) + (build-system dune-build-system) + (native-inputs (list ocaml-stdlib-shims)) + (home-page "https://github.com/backtracking/bheap") + (synopsis "Priority queues") + (description + "Traditional implementation of priority queues using a binary heap +encoded in a resizable array.") + (license license:lgpl2.1))) + (define-public ocaml-luv (package (name "ocaml-luv") From patchwork Wed Feb 15 22:00:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46987 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 83BF316889; Wed, 15 Feb 2023 22:03:25 +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=ham 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 F031916876 for ; Wed, 15 Feb 2023 22:03:24 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrB-0002I5-AP; Wed, 15 Feb 2023 17:02:29 -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 1pSPqx-0001yL-Hh for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqw-0002Xl-4Q for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:14 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqv-00072R-WB for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 37/39] gnu: Add ocaml-mirage-xen. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:13 +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.167649852126827 (code B ref 60673); Wed, 15 Feb 2023 22:02:13 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:02:01 +0000 Received: from localhost ([127.0.0.1]:34299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqi-0006yT-SO for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:02:01 -0500 Received: from mx0.riseup.net ([198.252.153.6]:36832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqD-0006uE-SA for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:30 -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 4PHBqS3qp5z9spX for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498484; bh=RiJ7Jb6UfxP5Tp6a4kdnFq/8r/WLJL3kYAEr+5JQ3xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bk+QaxiocAvWEjcbbTgkCs18EuTW/fXGjVubTlSv98OKV6+BX+sYg2IzfnWOxvUE1 WAaRKewoztDE8MtO5NmFiTWBD6kDTy9x7LC9A2AEolaSQuLsGq2AXNbIN3kMvGBvUU DsT5c6Guh+alFuQq83ZcU4fXUSCAikgBnhZt36hE= X-Riseup-User-ID: 152AF162FAC8F3A4D46ABB617DA65AF73F1D5DCC25D525E24F7AC0486D8D48BB Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqR4m11z1y8Z; Wed, 15 Feb 2023 22:01:23 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:26 +0100 Message-Id: <20230215220028.18575-38-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-mirage-xen): New variable. --- gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 0aca8a1c83..be088cf60d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3084,6 +3084,40 @@ (define-public ocaml-xenstore ;; Has a linking exception, see LICENSE.md. (license license:lgpl2.1))) +(define-public ocaml-mirage-xen + (package + (name "ocaml-mirage-xen") + (version "8.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/mirage-xen") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qydg92dbw8hj4b809apj0f51cjgmamq3zdf34a4wyn5jv85yzyx")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-cstruct + ocaml-lwt + ocaml-shared-memory-ring-lwt + ocaml-xenstore + ocaml-lwt-dllist + ;; ocaml-mirage-profile dependency cycle + ocaml-io-page + ocaml-mirage-runtime + ocaml-logs + ocaml-fmt + ocaml-bheap + ocaml-duration)) + (home-page "https://github.com/mirage/mirage-xen") + (synopsis "Xen core platform libraries for MirageOS") + (description + "MirageOS OS library for Xen targets, which handles the main +loop and timers. It also provides the low level C startup code and C stubs +required by the OCaml code.") + (license license:isc))) + (define-public ocaml-io-page (package (name "ocaml-io-page") From patchwork Wed Feb 15 22:00:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46979 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 EADC416890; Wed, 15 Feb 2023 22:02:58 +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=ham 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 AA2171688B for ; Wed, 15 Feb 2023 22:02:57 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPrA-0002Gy-Hh; Wed, 15 Feb 2023 17:02:28 -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 1pSPqx-0001yN-Jn for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqw-0002Xn-IN for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqw-00072Y-DB for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 38/39] gnu: Add ocaml-parse-argv. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:14 +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.167649852126837 (code B ref 60673); Wed, 15 Feb 2023 22:02:14 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:02:01 +0000 Received: from localhost ([127.0.0.1]:34301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqj-0006ye-8P for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:02:01 -0500 Received: from mx0.riseup.net ([198.252.153.6]:40938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqF-0006uH-2S for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:31 -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 4PHBqT5N41z9swd for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498485; bh=LB1saJd3MPw+sUSXxmHtH6asljPoFZ4LLFNncIymp1k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jznDblfTydiKKqsV7KGeVzOBW8AD4R2kK3KqpnzZ4/J83vvKJWQZFvjoPJEgKHB+K VPM2VrQ66+VATq/I5adXErVaJQ7skKgO6uc2LY+oUPyD0ySAwmNQtlPvQaRJQ2l6VV lgmifP07QxUHGbtoPWlOA3qtzAzXbFX3aW6O6ihI= X-Riseup-User-ID: AB15974B27BD2F4611D7930672E52A277B5B8F7BB8AF7C671C492F6209DEB6C7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqS688sz1y8Z; Wed, 15 Feb 2023 22:01:24 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:27 +0100 Message-Id: <20230215220028.18575-39-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-parse-argv): New variable. --- gnu/packages/ocaml.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index be088cf60d..545d15974a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3854,6 +3854,27 @@ (define-public ocaml-emile according RFC2047.") (license license:expat))) +(define-public ocaml-parse-argv + (package + (name "ocaml-parse-argv") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/parse-argv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16n18zik6vkfnhv8jaigr90fwp1ykg23p61aqchym0jil4i4yq01")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-astring)) + (native-inputs (list ocaml-ounit)) + (home-page "https://github.com/mirage/parse-argv") + (synopsis "Process strings into sets of command-line arguments") + (description "Small implementation of a simple argv parser.") + (license license:isc))) + (define-public ocaml-functoria-runtime (package (name "ocaml-functoria-runtime") From patchwork Wed Feb 15 22:00:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Csepp X-Patchwork-Id: 46998 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 8CA5A1688A; Wed, 15 Feb 2023 22:04:55 +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=ham 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 4660E1687A for ; Wed, 15 Feb 2023 22:04:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSPr4-00026v-P5; Wed, 15 Feb 2023 17:02:22 -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 1pSPqx-0001yM-J4 for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -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 1pSPqx-0002Xx-1z for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSPqw-00072g-Qu for guix-patches@gnu.org; Wed, 15 Feb 2023 17:02:14 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60673] [PATCH v2 39/39] gnu: Add ocaml-mirage-bootvar-unix. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Feb 2023 22:02:14 +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.167649852226844 (code B ref 60673); Wed, 15 Feb 2023 22:02:14 +0000 Received: (at 60673) by debbugs.gnu.org; 15 Feb 2023 22:02:02 +0000 Received: from localhost ([127.0.0.1]:34303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqj-0006yo-Oi for submit@debbugs.gnu.org; Wed, 15 Feb 2023 17:02:02 -0500 Received: from mx1.riseup.net ([198.252.153.129]:37628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSPqG-0006uJ-8I for 60673@debbugs.gnu.org; Wed, 15 Feb 2023 17:01:32 -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 4PHBqV6fBPzDqtC for <60673@debbugs.gnu.org>; Wed, 15 Feb 2023 22:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1676498487; bh=FE3l/3olZpA0kZOrg7drKJ1OE+EWgoLQ5fOCTPac6ws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PcFbFZt6ezIxvATxal8ywBBTlJUnleE7lgW20gA2xYY3IC/bIlYwLbv3I8NuUWbNE HKbHFIKOpiqjwUi301u83BJv0EehYhDALzeRztdRts8bnaMbGTwTW3wEGielbuFxf5 SJk7KfpugvkXYeLUYaZHDhVUQY9ymaMU4MkiUAKk= X-Riseup-User-ID: 3BB82A424E8C2D5459AD6CB72DED126278C862B4E8CE8283337CB1A4DA4F7CBC Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4PHBqV0N2jz1y8Z; Wed, 15 Feb 2023 22:01:25 +0000 (UTC) From: Csepp Date: Wed, 15 Feb 2023 23:00:28 +0100 Message-Id: <20230215220028.18575-40-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-mirage-bootvar-unix): New variable. --- gnu/packages/ocaml.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 545d15974a..374eeeb57f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3978,6 +3978,26 @@ (define-public ocaml-mirage a fully-standalone, specialised unikernel.") (license license:isc))) +(define-public ocaml-mirage-bootvar-unix + (package + (name "ocaml-mirage-bootvar-unix") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirage/mirage-bootvar-unix") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vi13q0z5ffv5hf4q5lfvkia6j2s5520px0s2x4dbjgd52icizrz")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-lwt ocaml-parse-argv)) + (home-page "https://github.com/mirage/mirage-bootvar-unix") + (synopsis "Unix implementation of MirageOS Bootvar interface") + (description "Library for passing boot parameters from Solo5 to MirageOS.") + (license license:isc))) + (define-public ocaml-duration (package (name "ocaml-duration")