From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UCW7ASI/CmG/kwAAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 09:17:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WOwTOSE/CmFFCwAA1q6Kng (envelope-from ) for ; Wed, 04 Aug 2021 07:17:53 +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 4FCB270BE for ; Wed, 4 Aug 2021 09:17:53 +0200 (CEST) Received: from localhost ([::1]:55242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBBA0-0003jz-AR for larch@yhetil.org; Wed, 04 Aug 2021 03:17:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBB9J-0002aJ-NQ for guix-patches@gnu.org; Wed, 04 Aug 2021 03:17:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59106) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBB9J-0004q6-G8 for guix-patches@gnu.org; Wed, 04 Aug 2021 03:17:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBB9J-0002mW-8o for guix-patches@gnu.org; Wed, 04 Aug 2021 03:17:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 09/29] gnu: Add ocaml-eqaf. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Aug 2021 07:17:09 +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.162806142410564 (code B ref 49867); Wed, 04 Aug 2021 07:17:09 +0000 Received: (at 49867) by debbugs.gnu.org; 4 Aug 2021 07:17:04 +0000 Received: from localhost ([127.0.0.1]:42380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB9D-0002k0-DW for submit@debbugs.gnu.org; Wed, 04 Aug 2021 03:17:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34353) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBB98-0002hv-QI for 49867@debbugs.gnu.org; Wed, 04 Aug 2021 03:16:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2B01C240101 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=eqxM77Rt46bcoBfAqNWyi9wZJi39EHO7tvVr00rCJcQ=; h=From:To:Cc:Subject:Date:From; b=rVTKVj+aOg6rMRjCcHRWpCb2k1vmWPYvtIAFyWjGD4EHTx0K5jTA0IaUwGOMQ7tF3 6nYRd1I4oPdo8WcOe7T8tm0kwdLwtVOQFBQ+7EXIhtPUEdBCe/7Sb7DXcVO4jrIs/Y VznQF5ztTF2zlKWAmkcXJJzzX98eFrBXtt4DHWgtCh4H2AF2JQCTZ3eMNHAXiNeOxd /SKqG9YZRGMsRSELMvYFoXvKnbdc8eUYHiEUTZrc/yJ9IzTE3G9lR42zWU835NxgiK BEQmCAGb/kb+vRy5AyYp9kAAgQcywO5w/5O3exEF4v6xwO/eHniDyl+0GZl7XFow28 0HECSrcynwBrA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GfjjJ4f0tz6tmF; Wed, 4 Aug 2021 09:16:52 +0200 (CEST) From: pukkamustard Date: Wed, 4 Aug 2021 07:15:25 +0000 Message-Id: <20210804071545.21181-9-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=1628061473; 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=Rri80zaAFLbzd1fmT1ryyT5M+y2YNUr0fp/IKHm910E=; b=oBRP93ChpLdbqp0fNAng6d0X73+asJ5wb0yTDL5fGKqN2ZG3O6qh180wYo2SxAq3d/0/ze QSbaiieAIOfrHdj/CDPNtt2sVa8HNCVDj5cSAgu8nZtMjWtMZZhRO7KIFn75fYEBBO+/Gg mkXl5Z9j8JS+kvQjZgxfgYcuJ6pTNCACfudc+ZnIOxD+6mFHBU/nnRhJunBBBaevWglr6j uGm2bpQ69DCXtNFZCnpmu1xiFRy+3zMK1d0WVI6jVeC4vfnUoPbr+B3ETnRQlPw0ohHDR+ 595m5jaxgoPfHo4HDnn4R5hsHB03PI/F5MBqDE5SdqT/C51C2APMH0PKkjFdEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628061473; a=rsa-sha256; cv=none; b=jtJiqjraw3+JtAz2WRnGQ00QqcZjJzV9EEWy/kvDi3F4CuhVRJH/MnPkvqvyJ4P1utc+pJ AvaQVhkU6C6HYM6JeCTqd5dsZDuMiraBYeg1goiHBmpb7t7srRYmRDPpSZaosJejvh0BE7 zcO7PEz97Pw1BFt5GCMTnaPa6QgOLXCcdKuZWL8zUD1Xy/DLTdqtbIk61R9iK+PnrmibWV ljfvUclViU1JczLAqwEvy13ANZt1jOnJTWG3+X6GQEupVulwjMxv0VEOutuuc3SM3dt+HW E7FNzmpkeC6ruOKSYZjzGW/UFotmNrGkVl/+2ozF/qBw5zSS00BPHtR5lBkECA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rVTKVj+a; 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=rVTKVj+a; 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: 4FCB270BE X-Spam-Score: 3.68 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZrO6y3+L+4bp * gnu/packages/ocaml.scm (ocaml-eqaf): New variable. --- gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c29a272214..04240b560b 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7328,6 +7328,39 @@ establishing TCP and SSL/TLS connections from @code{ocaml-conduit} using @code{ocaml-lwt}.") (license license:isc))) +(define-public ocaml-eqaf + (package + (name "ocaml-eqaf") + (version "0.7") + (home-page "https://github.com/mirage/eqaf") + (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 + "06hsnnjax1kb3qsi3cj0nyyz8c2hj2gbw3h517gpjinpnwy2fr85")))) + (build-system dune-build-system) + (arguments + ;; Tests require ocaml-crowbar which depends on + ;; ocaml-afl-persistent. ocaml-afl-persistent uses a non-standard build system + ;; and I have not yet managed to build it with Guix. There is an on-going effort + ;; to port the build system to dune + ;; (https://github.com/stedolan/ocaml-afl-persistent/pull/7). With that it should + ;; be easy to add ocaml-afl-persistent and ocaml-crowbar and enable these tests. + `(#:tests? #f)) + (propagated-inputs + ;; required to build the eqaf.cstruct library (see https://github.com/mirage/eqaf/pull/27) + `(("ocaml-bigarray-compat" ,ocaml-bigarray-compat) + ("ocaml-cstruct" ,ocaml-cstruct))) + (synopsis "OCaml library for constant-time equal function on string") + (description "This OCaml library provides an equal function on string in +constant-time to avoid timing-attack with crypto stuff.") + (license license:expat))) + (define-public js-of-ocaml (package (name "js-of-ocaml") -- 2.32.0