From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IIt6JUc/CmHskwAAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 09:18:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oEo/IUc/CmGbAgAA1q6Kng (envelope-from ) for ; Wed, 04 Aug 2021 07:18:31 +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 55057AC03 for ; Wed, 4 Aug 2021 09:18:31 +0200 (CEST) Received: from localhost ([::1]:56988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBBAc-0004y5-Ag for larch@yhetil.org; Wed, 04 Aug 2021 03:18:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBB9O-0002gC-TP for guix-patches@gnu.org; Wed, 04 Aug 2021 03:17:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59123) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBB9M-0004tS-Uz for guix-patches@gnu.org; Wed, 04 Aug 2021 03:17:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBB9M-0002ns-PX for guix-patches@gnu.org; Wed, 04 Aug 2021 03:17:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 10/29] gnu: Add ocaml-mirage-crypto. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Aug 2021 07:17: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.162806143010723 (code B ref 49867); Wed, 04 Aug 2021 07:17:12 +0000 Received: (at 49867) by debbugs.gnu.org; 4 Aug 2021 07:17:10 +0000 Received: from localhost ([127.0.0.1]:42419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB9J-0002mR-31 for submit@debbugs.gnu.org; Wed, 04 Aug 2021 03:17:10 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB9D-0002iI-7H for 49867@debbugs.gnu.org; Wed, 04 Aug 2021 03:17:04 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9E892240026 for <49867@debbugs.gnu.org>; Wed, 4 Aug 2021 09:16:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628061413; bh=sJVnE9XwfEC3fy4Aq6VK9A78gtmmqJkIgM0zQZIJV/k=; h=From:To:Cc:Subject:Date:From; b=WxlSjCPTFvgBrUhGBbtcZGk1vcelZFCPjFwznGe214A211aI0XuK7HlK2Gu4LhpLF 8KfLBEW7fPrmfjOyRaTqWlfCEb5exapeUwFtxukkEyxwKAq4p3lZ4fXxL7qacu/nlZ IuAyc5qTWmsR8rEisQkySuh446NfXmzLAvpqczoFT5mOLOapOzBvuXnPjO2g0cjo/t yibbivRz/DTof95Dz4OsPXprao16aMKkohG/DZHSo7AXcehX1NvUFwh4KRdKrGdSFi 3mdv5K9aplRZP6XAxFCAVEJ+vA1TZP8KDdtlE3ofqlqvXIfGST7CeD8hf7j1GP3SzY ueu8rA9Pho98g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GfjjK11nyz6tmF; Wed, 4 Aug 2021 09:16:53 +0200 (CEST) From: pukkamustard Date: Wed, 4 Aug 2021 07:15:26 +0000 Message-Id: <20210804071545.21181-10-pukkamustard@posteo.net> In-Reply-To: <20210804071545.21181-1-pukkamustard@posteo.net> References: <20210804071545.21181-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=1628061511; 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=yk4C4MxyOk/0jpFCLvP+Lo770Tc9CMMlI17HHr5d0Hc=; b=ICeZVEWoyXWfbsdlxbDfvAN8aete3NT7pgsDi+B3V128wLVUT/B+82ioBYzFvVA5U5xc0z MGA7lpRFlzbd3knl//I+7TD+kZieLw8Y5CgGiQUdW+k9Ka7k0DdIJTNUa4qYQ5WwJyI+PY o4Hx/GbgAAdXPcW0ZWyWmz5w2jIfmjckGifxkS++6O++dIiDt23hripY25Oh+SqDuU8H5J nJsjQq5ZNdym5QjwVwiIQYj1ucqo1aSrFltsod2h+ChikzuF468RXUC8Ex4W76OoWbgoDW tmUf8MosZNrEsLJjKgbrBSpXC/wh5q9+YmE7O3nw6KjogzK1TXrSubNrx11huw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628061511; a=rsa-sha256; cv=none; b=lenzrA02axO5qBXVZBQtveL5zzG3F4HV5mVsp+QfZHv/Zi+Cp7nRLEC1Mb3qJjb5yGg+QZ 0zxUJFjb2pVnB/7GrhIpFKdSaHbq2KyuR4uYdxTTWZcKniEkz+xV5gpwL/GPzJCOPwq6W+ n6Ak+kKhSpI62+xw+u7KJRtgFfWvX43sr2DaMjJjNAruNZzKIsU6zqXzYb6+H6aai+kzQy rsfZMnHhdw4VrE4fh//AmWu0JoxevVMraFOqn/w1ymZkNZPJbeQCn11oTxgwyVQlBVIN0H MftlQMwLArgw8s2ahJG7YYM0QsaXK7X+c6Qow8l6NA9wmvq7qpz7nP2+CxG4NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WxlSjCPT; 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.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WxlSjCPT; 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: 55057AC03 X-Spam-Score: 3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: hlYNjyp7xIdn * 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 04240b560b..aa1129e5f3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7361,6 +7361,37 @@ establishing TCP and SSL/TLS connections from @code{ocaml-conduit} using 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