From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eJUUM7lW7WNZKAAAbAwnHQ (envelope-from ) for ; Wed, 15 Feb 2023 23:03:37 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yNsUM7lW7WMhhAEA9RJhRA (envelope-from ) for ; Wed, 15 Feb 2023 23:03:37 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 7BC5335A9 for ; Wed, 15 Feb 2023 23:03:37 +0100 (CET) Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=shYFI92e; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx2.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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676498617; 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=GaMa4c7975bdp+U1bWh5hy0DG1zaBfrGRDXC5wfiRm0=; b=n+pPkkk+/lhWsafi0GjXL0HEC9edmWFI119p9eK0cSDIQ8amsOtvcS4YX1so0pi8MU2Gkm KmGOExODs+SJaEJ4qRf82nI1SaUDUDC6AKLh8+D4BSowhiIn90/xNa0zPsFp53G9Knfbpq gN2znITu2axm32xJutBNQbkTTtLVflrQT65miWNLbZ0nyomOWNl53hYzHbO9MG325HFgmB kNwPQgkCRkaaduqdtItCmKndDqvryhI49MNUliJlpx3+vkka/NdkFcxA78i5N3j/vXvjOg 6aYGpvUc/TiA9kPud1ji4Zg/fgq6TPLHTn2h80g3b0qkhVCalJHpkqXjJE5IUw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=shYFI92e; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx2.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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676498617; a=rsa-sha256; cv=none; b=JLJYbmHCCPIoh1d0qkwhAA6d+K0kVNtOuJqX0GGvXMv3DaSYqGDGIm0rDb9XRN5AViVH+w q7H2PpengpAAvraqrgM8e2nhGmqslh0K2aDZRv3pDRlPt5q4fS0GsU2CsMrol1P9uiANDd y6lGPHOvWuvM6+rqJ1w3ozvJCO/p23SNkX7ao8j/IDUBJUWjfRxliwl9+vygpRTakEJ+Ez ym28Elc65sTVO5IcyTdmn0QTBHhNjXIrp6nC7R9O/MdDXIY6oM7aGzV+Xw68+Ren8LF+xy jW9QrCtYR5Pdbkpm0iD9TKxMPROgTZAAVU/5cf4e1cEMtCxT0wr7T6XAQ7lF8Q== 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 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: X-Migadu-Queue-Id: 7BC5335A9 X-Spam-Score: 6.98 X-Migadu-Spam-Score: 6.98 X-Migadu-Scanner: scn0.migadu.com 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 X-TUID: ZJ3thVp8B4nU 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") -- 2.39.1