From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBflFEHTEGHKPwAAgWs5BA (envelope-from ) for ; Mon, 09 Aug 2021 09:03:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IJF6EEHTEGHxSgAAB5/wlQ (envelope-from ) for ; Mon, 09 Aug 2021 07:03:29 +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 A2F0517D92 for ; Mon, 9 Aug 2021 09:03:28 +0200 (CEST) Received: from localhost ([::1]:44550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzJn-0005ov-Lq for larch@yhetil.org; Mon, 09 Aug 2021 03:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzIV-0004Hf-81 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzIU-0000EF-VH for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzIU-0003ce-RO for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:02:06 +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.162849251313702 (code B ref 49867); Mon, 09 Aug 2021 07:02:06 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:01:53 +0000 Received: from localhost ([127.0.0.1]:55459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIH-0003Yq-A3 for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzI8-0003W9-DB for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:44 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id DE8DA240101 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492503; bh=ypgamDMc2R/Q41ne4gaX9Oc5GT4KniiASYUkwDsJK18=; h=From:To:Cc:Subject:Date:From; b=gPNf+N4uZPWFfUYeCZwnzoXCFYtjXyQI1Zphx0WcYC0NmBjDQb2pianPG8NSQIYaU CyQqt5uSCgn+8kzqq0n90ef60VSjWSMUYE0BWEfcSJiF82rYV10W89UBPHipcGNiFT P6fbReoJz/8veNX6oVx2lgEdxapo3QTWmd1uJqAVNmgUUGTEDKDMbfXymt4qKS57G1 n5N1mnymNbQdj8Lbg9r7cYX2fAgD3lc/c7pEIPMmtsxlgBsE7z+Je01MI/bqWo6LTo fmw+FbiplU85RnapNrPxqUSiSulnExOVkQikqtNLS4cWwRx+ngBZMmP/5s9OA5HeQs H32wsE3HVgL7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7W25r3z6tmG; Mon, 9 Aug 2021 09:01:43 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:06 +0000 Message-Id: <20210809070124.25641-13-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=1628492608; 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=G4Bv9FoeBehCcWQOgj6BajWNLLeK4jV+tHdwmXneCBM=; b=ESWJsHZkbEXcDVPP5bh9XsJCDn7mnZD9xCrY2yr0m0RrYRBDzZIsZ1XzWE6TnOnaNFljL3 W4RWWUq003M+l1qGjEssrwG6KUKUODgbNNLmLwZULxQwKGLuwHPvsqnS7ZbzfaulNSIv/Z GpPMqgyFc/h+OikAORo8sWHtVaLzkrEgwP1cGuld4d3ZzCtmlmx4WAqv/guu7cTp8IKGRz r2J+nL6iZz0FMFBFbS2S1Xpr1F0DXqGpIl4Baevv3lr3y2Z8rDpStnIm+17lMyAcvamPFs I0reBLlNF28P2jT2GC1cuwOEpmQGQ6Fi4tnUrX9bhtajFIWGB/FeNBhZ3NJC3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628492608; a=rsa-sha256; cv=none; b=Y0hHh6ZXuTIuCchQ1pP+GFT/dtdSxrGpCkdqWGuTYs4IYYM0lZHdrNglEMFJQJOUaxkato qBSqjucgz6g88KHfXXuavYq2iQ+EfNQbgLnpdLqNWluVivP6d50UGIfPQtyetbg/gnVGUn cToY+O+c5icFdarT7V1ypqMNU4JWZ7H/rvECapMeuGBdKShrTT4a/v2KYbR60lj+CrJE0g 5Kr+MtIONCyB+I3kfvhsH958QuhofgSybHl4g8vTFIK+2RsSGWLN4n010GKX/c78im6RtY 93CezNp6DptDa11UmIQwpuuHtha4d7gpAlPmvWNuu2ef+LjaXff18tE9Jq7VEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gPNf+N4u; 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=gPNf+N4u; 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: A2F0517D92 X-Spam-Score: 3.69 X-Migadu-Scanner: scn1.migadu.com X-TUID: dPQxVnNXuPSr * gnu/packages/ocaml.scm (ocaml-mirage-crypto): New variable. --- gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7101cc6c2f..c6cdd3a318 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7592,6 +7592,37 @@ property-based testing and the magical bug-finding powers of constant-time to avoid timing-attack with crypto stuff.") (license license:expat))) +(define-public ocaml-mirage-crypto + (package + (name "ocaml-mirage-crypto") + (version "0.10.3") + (home-page "https://github.com/mirage/mirage-crypto") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0j7x07c8xy8bmqp9ad1cib6j69dy7acjg9m1d7pn0dnmbkrl8fiz")))) + (build-system dune-build-system) + (arguments `(#:package "mirage-crypto" + #:test-target ".")) + (propagated-inputs + `(("ocaml-cstruct" ,ocaml-cstruct) + ("ocaml-eqaf" ,ocaml-eqaf) + ("ocaml-bigarray-compat" ,ocaml-bigarray-compat))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("ocaml-ounit" ,ocaml-ounit))) + (synopsis "OCaml library provding cryptographic primitives") + (description "This OCaml library provides symmetric ciphers (DES, AES, +RC4, ChaCha20/Poly1305), and hashes (MD5, SHA-1, SHA-2). This library can be +used from MirageOS unikernels.") + (license license:isc))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0