From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ONEtFL5hu2O5OQEAbAwnHQ (envelope-from ) for ; Mon, 09 Jan 2023 01:37:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oB1cE75hu2OMSQEAG6o9tA (envelope-from ) for ; Mon, 09 Jan 2023 01:37:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0AE759803 for ; Mon, 9 Jan 2023 01:37:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEg9A-0005Sr-Da; Sun, 08 Jan 2023 19:36:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEg96-0005Ro-Jf for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36: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 1pEg96-00047e-99 for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEg96-0001le-5M for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60681] [PATCH 11/39] gnu: Add ocaml-duration. Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Jan 2023 00:36:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60681 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60681@debbugs.gnu.org Cc: raingloom X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16732245686697 (code B ref -1); Mon, 09 Jan 2023 00:36:11 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2023 00:36:08 +0000 Received: from localhost ([127.0.0.1]:35096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg91-0001jf-FK for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:36:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:49650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEg8v-0001hM-U7 for submit@debbugs.gnu.org; Sun, 08 Jan 2023 19:36:02 -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 1pEg8v-0005NR-LW for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:01 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEg8t-00043V-Sk for guix-patches@gnu.org; Sun, 08 Jan 2023 19:36:01 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4Nqw3L6GBkz9s4M for ; Mon, 9 Jan 2023 00:35:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1673224558; bh=7NOZPQGPqMA5yNTFXIVp7JwyHypqRGbf1rJUDhylbKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tkn9ZxXiXSJ40FvVzdTDdJn0EA+upfG/8vNWszK+2F4UPMuZj/FdK+hjqJ8nw6XNs OGyafI9BTSQPfIxQzNUxi+LK6BRNZpADE0pxyn4VH7v9AYhT6BUk8NhVtYNByhThwX n9vL6S29A0raXpKwtfsjptLM9OiV05N1ayyp+Fxo= X-Riseup-User-ID: 0B7CEF03275073B690BEABDCF9C59B92FEF95D82917C823F4AB5C7E4FD45433E Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Nqw3L015xz5vXJ; Mon, 9 Jan 2023 00:35:57 +0000 (UTC) From: Csepp Date: Mon, 9 Jan 2023 01:35:01 +0100 Message-Id: <20230109003529.23375-11-raingloom@riseup.net> In-Reply-To: <20230109003529.23375-1-raingloom@riseup.net> References: <20230109003529.23375-1-raingloom@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673224638; a=rsa-sha256; cv=none; b=GJqCFc6gnO9wU/LaGGjcIFip+Ms8/9NsY7luhtGQGOiHSU+s23iDefJz9/02vfpbZBeoSX go5hN2H9skLbNqqh+hnLGaoSuN2Nv1rP12Hv+IlX3FSbMZVwbOJynUtfCvisAmd6RmRLPy GppNJtjzO16qhyJXdLSPJzoXfR5fs+97nzgjbTI77WVHzKTd2U7rMag89mEQACDP41MFxi Ax9i3bld0/gdMs+Yqu9PKLUwOtLwyWFW382Bj0o8QCiQ57dfcbPEekssX0XJYmUpZVHghb wthjBWyes0kJqIiFYYE4BKo7MMPbywIrXBa/UhvI9N8ttCm+3EAolxN7dUVyKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Tkn9ZxXi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673224638; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=C06XlV4LGfXe1rlyQPw8FBYjr2RZ8TPfi623zcZDpM4=; b=WErObHeGugUg+Rccwe64PXhG8hcAsE2GwExEcUBR4knAtQ2fAKeh+AJdF/HgBV+Q5wrbh8 iS78OlfZ44/Kty0aJDemiUdZnEGS8mfBmTdjOFuM0uowS0KAQkuT5q6QCDtsOit+zj9f/w qXHlMYPtS6xi8LKSZ4xt9BEkxz8OCWCgfwRd4f5nuPWYC5Yegh8tvNj5dRtV9DhXiSI3TN FG36ojH1R9B/FYvU8coK3KrQhrsJH1cC5Fx8CbKH1VMdLL2gCjrktDUdCo1s/y06SBvLqF nO1b9S0AhqtNdibHpNlHU5hrgKFREFxN2cE0BCVtFLT7MTRyDSBhwdqo7JueKg== X-Spam-Score: -1.17 X-Migadu-Queue-Id: 0AE759803 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Tkn9ZxXi; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.17 X-TUID: DAAKd1XmGwZ9 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 d33b5ba5f0..447b537637 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3785,6 +3785,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") -- 2.38.1