From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qFvFCQ7TEGGJQAAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:02:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id Gwg5BQ7TEGGAHgAAbx9fmQ (envelope-from ) for ; Mon, 09 Aug 2021 07:02:38 +0000 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 58BD914171 for ; Mon, 9 Aug 2021 09:02:37 +0200 (CEST) Received: from localhost ([::1]:43438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzIy-00052q-F2 for larch@yhetil.org; Mon, 09 Aug 2021 03:02:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzIY-0004Sa-TQ for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzIY-0000IB-LM for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzIY-0003dV-IS for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 18/31] gnu: Add ocaml-ptime. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:02:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.162849251713788 (code B ref 49867); Mon, 09 Aug 2021 07:02:10 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:01:57 +0000 Received: from localhost ([127.0.0.1]:55481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIK-0003a7-Cs for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIC-0003W9-0p for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:48 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 877C9240101 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492507; bh=oOO2urfhtIGtCVnFBZuT4ztubuZd052fXP9Ei3gym7g=; h=From:To:Cc:Subject:Date:From; b=XQ8FDnI5o8bZG4PgkxUMwmpJwqRN49gUvDX1AkyOw4qQgvvOM5DnxZkjaBBUI23xp t1eZIucJZ70LHniBreXaDEMiQpoPg28ASolucQkiw96JWpkgytHSkhlNXs2aaEEGhH MyX1pjd39JswXzo6cw3JjHrz0bA8kvlNvryV21rGaahwFW5kvVX+3hFm6f9xvzvboh /yakcLq+GlgwrUcpm5mX3DQzBlm3lNUe+Edvl4Pc9RPvpq6WB+MRhiGFPXF6NBlUZ5 CWEw4nMQrKKBWo1LrEHeH7Igqk510Z8mj1mpDdE1Q2uy3UJ83XQesFSHAdWifCpeYH KTWaJD0EtnzcQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7Z6HxHz6tmG; Mon, 9 Aug 2021 09:01:46 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:11 +0000 Message-Id: <20210809070124.25641-18-pukkamustard@posteo.net> In-Reply-To: <20210809070124.25641-1-pukkamustard@posteo.net> References: <86pmun5cp5.fsf@posteo.net> <20210809070124.25641-1-pukkamustard@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628492557; 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=W03g7sg8WzmNmQAe4eV1GeCCUBdcVx2HQeLebjSsr/Y=; b=FF79Ke3ahk4OaoLQ+TYNmqn5O5Lz9zkkyfJR9suu1HrJFK1S0sVIZUdI9PORxKNYEeDSdG m9Ifj2Si6l9/qI0kCU8nOa4+a4hrDQlktxM5qyxxdB+tpcFufqegsNvc32hlo+siPb5u4A aCwwzQDjdxs6P7FHxVg/m/aJwQo6vaQOkQi6tmr5e60nKbK+PTUQj2yxtGqbFOfH7lBwLZ tJc7GjnexQ4jR/xsn+jwQrlJqLHDPA8/UWljbAM+sh965m7iAcuKeFbjwUQXr6iIWOtHqR TY/NX8Y0XnX91YrxcI/+L2Z813EcMzgbVHaj/KQ2Y9ngBHzZQgiXQe+Je6CBuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492557; a=rsa-sha256; cv=none; b=MgxeIgu7VfoQWBJTLgTmB7nRuuPAkw2IdV9hYyltQfW/uD2LExCmMoFBd6FPGXr928Yq1a 3RD8zAsn94uL0iF6lvVwGIT0Ig/EHB0j7DJsC3eKBkXM5YAJqlQovmVvpqiyEgHYhOvbM9 i/gLl44YRr1RiM+PWob5KEOdeuXflWuRGi2rXmrscFJQJtfa6nYogq3o77UVQyT4C9vWHX DZpyQsXCTMq/0IIB8NQCR9mE7pHVSd4cPvIhz1iWusUsgwHVM42dUY5KUUVx3qGbpTOMvu 7j4fZ3EGMUgQ7iG+lep3/TgH74NAAHbpxidDmfK4v+/ltLeprSs/XkL3qoyCfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=XQ8FDnI5; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=XQ8FDnI5; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 58BD914171 X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: hh/CL/uXDarr * gnu/packages/ocaml.scm (ocaml-ptime): New variable. --- gnu/packages/ocaml.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 82786922b2..7af276a517 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7719,6 +7719,45 @@ number generator interface, and implementations."))) (description "@code{ocaml-mirage-crypto-pk} provides public-key cryptography (RSA, DSA, DH) for OCaml."))) +(define-public ocaml-ptime + (package + (name "ocaml-ptime") + (version "0.8.5") + (source + (origin + (method url-fetch) + (uri + (string-append "https://erratique.ch/software/ptime/releases/ptime-" + version ".tbz")) + (sha256 + (base32 + "1fxq57xy1ajzfdnvv5zfm7ap2nf49znw5f9gbi4kb9vds942ij27")))) + (build-system ocaml-build-system) + (arguments + `(#:build-flags (list "build" "--with-js_of_ocaml" "false" + "--tests" "true") + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (propagated-inputs + `(("ocaml-result" ,ocaml-result))) + (native-inputs + `(("ocamlbuild" ,ocamlbuild) + ("ocaml-topkg" ,ocaml-topkg) + ("opam" ,opam))) + (properties `((upstream-name . "ptime"))) + (home-page "https://erratique.ch/software/ptime") + (synopsis "POSIX time for OCaml") + (description "Ptime has 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. + +The additional Ptime_clock library provides access to a system POSIX clock and +to the system's current time zone offset.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0