From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id J1S6IknTEGHeQQAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:03:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6K/WHUnTEGGJYwAA1q6Kng (envelope-from ) for ; Mon, 09 Aug 2021 07:03:37 +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 561F41D08F for ; Mon, 9 Aug 2021 09:03:37 +0200 (CEST) Received: from localhost ([::1]:45020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzJw-0006Af-CG for larch@yhetil.org; Mon, 09 Aug 2021 03:03:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzIa-0004ZH-Kn for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzIa-0000Kr-Av for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzIa-0003e0-7J for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 16/31] gnu: Add ocaml-mirage-crypto-rng. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:02:12 +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.162849251913833 (code B ref 49867); Mon, 09 Aug 2021 07:02:12 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:01:59 +0000 Received: from localhost ([127.0.0.1]:55493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIM-0003aq-Hj for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:59 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIF-0003Xp-Sq for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 522E5240028 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492506; bh=/eF2lyokZui5qP8prSARLXrcP7Qhvp1nslp0OQljCX0=; h=From:To:Cc:Subject:Date:From; b=j5+lPGUwbC/JWMtFtWDMHF0uJVba8dRmfWUOqnQ0XMWSt9GHVL4MnS8Q2xwIkq3fF OhEaWG7wVqbzWBtN1NRt0bGJHCBema74JnwhKyScqKFLpHclzl3/ix7NdsqZfAVaDp 3C8cxBbtARxmcMRsdlBlnBqkpTSpDbBaa5O0ykoF18LXR3aimNX5NHlCarsoZKR6KT bDTYOKZj7IT5yUsVJGVfWrmBREqw3LWmVe97CZguXd5c7d0+/HyanZSVbKZNaBOvoA NJtMluEZQHmty41vPeqdD6Ojfu2ypT7iwl3aKWt8JqyXXBHLOXD0FnWtRhfrCf8sxt iXqVMU5z7kj7A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7Y1htsz6tmK; Mon, 9 Aug 2021 09:01:45 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:09 +0000 Message-Id: <20210809070124.25641-16-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=1628492617; 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=PfhTyMs+G2tfMQ7JcPpaY2a1BC3prC+7Zcnz1OOa6yc=; b=DmSj9M4vjbc64iwcqUgZRbP2XUiOG3FqZ9CaCa3mn/uoLnADPZA1YrDHWraH7rSUtqxInx J5tngoadY8+/Ynla4EJQ4gilUJNNtOLCpsZ2w+CqMFQLNZNZ6ektpuy1w1CRtP8UL8KRJD lMhRp8uObpjWHfBA8wkwxc8nmBI4VLB0CvamxBnUjCx8Xbegoy4YYLqJiWqEpBxDHcpac3 KBT1NHw8/oC2BDV0p4Nn/wYaulgEfgS71pWW+bwtkcA8qL963EZT+Sdd+tkwG4F/GyhVvO r1nEgrVSaUkhKE18BnmXYusIXdEbvEMJUV/TvGHRU+DSLlii+3Ls+C2px3pKTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492617; a=rsa-sha256; cv=none; b=etcNWOhwW7NjZNZH0xfG+DRv1eN6wObFBJuz4wrQyZ6+hAMefvvWIwZ2C4KF7EC2ZD2SPJ orPf7HBV4coOCBG8lFCU9RGLtC2Qb6MdQfJCbMBM+Pp1KNgzrAB9TGfknFyHyN7lIQAGQW x+Fb13UPOXQa6C3fJiitJ88ibVTUdeoGtox4Hw0O+V8J0DCWNQss0hA3lpXvnsLJq8L/wq v8zQdmURDiC18LTAtu5YAYNY8V4vcyNfPjJdPbr4C6v/xfP8SvN9wFi9aTyDyitnEmh5Pg 1QR31OXKLJcIudJYJlbjXishxHlKPt8XogvBH13edNfwbQOW77njlmTHMqVfEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=j5+lPGUw; 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=j5+lPGUw; 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: 561F41D08F X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: X6Ry7pI1Bw0Q * gnu/packages/ocaml.scm (ocaml-mirage-crypto-rng): 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 669faf9729..b6cf98b82f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7673,6 +7673,27 @@ between various time units.") as (C-like structures using @code{ocaml-cstruct}) to OCaml native numbers.") (license license:isc))) +(define-public ocaml-mirage-crypto-rng + (package + (inherit ocaml-mirage-crypto) + (name "ocaml-mirage-crypto-rng") + (arguments `(#:package "mirage-crypto-rng" + #:test-target ".")) + (propagated-inputs + `(("ocaml-duration" ,ocaml-duration) + ("ocaml-cstruct" ,ocaml-cstruct) + ("ocaml-logs" ,ocaml-logs) + ("ocaml-mirage-crypto" ,ocaml-mirage-crypto) + ("ocaml-mtime" ,ocaml-mtime) + ("ocaml-lwt" ,ocaml-lwt))) + (native-inputs + `(("ocaml-ounit" ,ocaml-ounit) + ("ocaml-randomconv" ,ocaml-randomconv))) + (synopsis "Cryptographically secure pseudo-random number generator in +OCaml") + (description "@code{ocaml-mirage-crypto-rng} provides an OCaml random +number generator interface, and implementations."))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0