From patchwork Fri Aug 19 15:24:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41777 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E9A9A27BBEA; Fri, 19 Aug 2022 16:26:41 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A6D8527BBE9 for ; Fri, 19 Aug 2022 16:26:41 +0100 (BST) Received: from localhost ([::1]:51536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP3tQ-0001nS-CB for patchwork@mira.cbaines.net; Fri, 19 Aug 2022 11:26:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3so-0001l5-UI for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP3so-0004GV-K1 for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP3so-0001QL-Fr for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57298] [PATCH 1/5] gnu: Add ocaml-afl-persistent. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Aug 2022 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57298@debbugs.gnu.org Cc: Xinglu Chen Received: via spool by 57298-submit@debbugs.gnu.org id=B57298.16609227135359 (code B ref 57298); Fri, 19 Aug 2022 15:26:02 +0000 Received: (at 57298) by debbugs.gnu.org; 19 Aug 2022 15:25:13 +0000 Received: from localhost ([127.0.0.1]:59116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3s1-0001OM-H2 for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:13 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3s0-0001O8-HN for 57298@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D067B240029 for <57298@debbugs.gnu.org>; Fri, 19 Aug 2022 17:25:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660922706; bh=QQ0pHxgzAroHZooqE1W9ijZtiiZUnVcGgla9jt6q5Cs=; h=From:To:Cc:Subject:Date:From; b=BCPXSrq1qIKDt5YoykjzDjbhDpTUVn1yJ0bl3rxykCcIBkdn5AgmvwrsNwJANQpAW +3TtEh8vAOnkO5CNgbnpvQxhyCuMGVuVHqOtEnBc7xR1Yuz0d4TglG7x2XyvXRd9w7 sL7WMMdmvUvcPe4UaC6VSq/w9aBGyuXHQGni4hGppXPPOrwREzPqoKmoxLWJUdThOu CVhReiySQEixCXPnxatZDxlllleUKB5CpuVSBt72DZ9nna4ErfH4By3GlqZPvPvJU2 4xaRbOS38ENPlnBRqq5KDAiWHyHVLLIAFRAQhpZ3ZS4JX5QnRsZIaeppzs3JdbE75J ne0UrJ2kiR/SA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M8QYG0qddz9rxW; Fri, 19 Aug 2022 17:25:05 +0200 (CEST) From: pukkamustard Date: Fri, 19 Aug 2022 15:24:28 +0000 Message-Id: <20220819152432.26135-1-pukkamustard@posteo.net> In-Reply-To: <20220819152149.25881-1-pukkamustard@posteo.net> References: <20220819152149.25881-1-pukkamustard@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Xinglu Chen * gnu/packages/ocaml.scm (ocaml-afl-persistent): New variable. --- gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3f123219f7..14550d1232 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8545,6 +8545,40 @@ (define-public js-of-ocaml browsers and Node.js.") (license license:lgpl2.1+))) +(define-public ocaml-afl-persistent + (package + (name "ocaml-afl-persistent") + (version "1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stedolan/ocaml-afl-persistent") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "06yyds2vcwlfr2nd3gvyrazlijjcrd1abnvkfpkaadgwdw3qam1i")))) + (build-system ocaml-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "./build.sh"))) + ;; XXX: The tests are already run in the build.sh script. + (delete 'check)))) + (native-inputs + `(("opam" ,opam))) + (home-page "https://github.com/stedolan/ocaml-afl-persistent") + (synopsis "Use afl-fuzz in persistent mode") + (description + "afl-fuzz normally works by repeatedly forking the program being tested. +Using this package, you can run afl-fuzz in ``persistent mode'', which avoids +repeated forking and is much faster.") + (license license:expat))) + (define-public ocaml-bibtex2html (package (name "ocaml-bibtex2html") From patchwork Fri Aug 19 15:24:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41778 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5F16927BBEA; Fri, 19 Aug 2022 16:26:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 20F6827BBE9 for ; Fri, 19 Aug 2022 16:26:51 +0100 (BST) Received: from localhost ([::1]:40328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP3ta-0001qs-9u for patchwork@mira.cbaines.net; Fri, 19 Aug 2022 11:26:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3sp-0001l8-Cy for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP3sp-0004Ga-4B for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP3sp-0001QT-0W for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57298] [PATCH 2/5] gnu: Add ocaml-pprint. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Aug 2022 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57298@debbugs.gnu.org Cc: pukkamustard Received: via spool by 57298-submit@debbugs.gnu.org id=B57298.16609227215383 (code B ref 57298); Fri, 19 Aug 2022 15:26:02 +0000 Received: (at 57298) by debbugs.gnu.org; 19 Aug 2022 15:25:21 +0000 Received: from localhost ([127.0.0.1]:59120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3s8-0001Ol-TG for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3s7-0001OU-Bm for 57298@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C73B4240105 for <57298@debbugs.gnu.org>; Fri, 19 Aug 2022 17:25:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660922713; bh=b7IINOWSq+kWKQDsTj22aFbb7vRZXGkhHyuFPaD+tD8=; h=From:To:Cc:Subject:Date:From; b=Y1GXQOaJ+kGa7K3ANMbh7SlMB+naqsL3LGv+PyJCwTOBUboxa/EEMbMLW9qXJ0DNr YIRy7q/VmbNChyjJ06dGofK30tJxgnKTBtgoULWsIl1y92NWmE+52ZimtyKfuEfFu1 vi7qcBDLbmKCYxP52Gx2wEArgAvazG/sPrQA2pE7pqMZLji7zMwq4coKt7sGjHpHAp 876uYCbVEghYswzQ0nFrNWpXNI9rrR4k8NLDGpOqgNs9Wl6tYY5Wh6cNv5vNdiJId4 Nejv/u4xUngBtvyA2VerxDW8ser1gfth6IPRgHjh44Dd8lmvfOztZXE/ojmCXZS5MD vTjkjHpw9q03w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M8QYP0zXrz9rxP; Fri, 19 Aug 2022 17:25:13 +0200 (CEST) From: pukkamustard Date: Fri, 19 Aug 2022 15:24:29 +0000 Message-Id: <20220819152432.26135-2-pukkamustard@posteo.net> In-Reply-To: <20220819152432.26135-1-pukkamustard@posteo.net> References: <20220819152149.25881-1-pukkamustard@posteo.net> <20220819152432.26135-1-pukkamustard@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-pprint): New variable. --- gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 14550d1232..dc56fb3ba3 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8579,6 +8579,31 @@ (define-public ocaml-afl-persistent repeated forking and is much faster.") (license license:expat))) +(define-public ocaml-pprint + (package + (name "ocaml-pprint") + (version "20200410") + (home-page "https://github.com/fpottier/pprint") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16xc0rd4yj1y9rrs9fbhidd08icy4pc1plx48hp0xs6vnkh1wxjm")))) + (build-system dune-build-system) + (synopsis "OCaml pretty-printing combinator library and rendering +engine") + (description "This OCaml library offers a set of combinators for building +so-called documents as well as an efficient engine for converting documents to +a textual, fixed-width format. The engine takes care of indentation and line +breaks, while respecting the constraints imposed by the structure of the +document and by the text width.") + (license license:lgpl2.0))) + (define-public ocaml-bibtex2html (package (name "ocaml-bibtex2html") From patchwork Fri Aug 19 15:24:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41779 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 217DB27BBEA; Fri, 19 Aug 2022 16:27:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CBFEC27BBE9 for ; Fri, 19 Aug 2022 16:27:30 +0100 (BST) Received: from localhost ([::1]:47962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP3uD-0002PA-Vh for patchwork@mira.cbaines.net; Fri, 19 Aug 2022 11:27:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3sp-0001l9-Sc for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41154) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP3sp-0004Gf-Jx for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP3sp-0001Qa-G0 for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57298] [PATCH 3/5] gnu: Add ocaml-crowbar. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Aug 2022 15:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57298@debbugs.gnu.org Cc: pukkamustard Received: via spool by 57298-submit@debbugs.gnu.org id=B57298.16609227255405 (code B ref 57298); Fri, 19 Aug 2022 15:26:03 +0000 Received: (at 57298) by debbugs.gnu.org; 19 Aug 2022 15:25:25 +0000 Received: from localhost ([127.0.0.1]:59126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3sD-0001P7-6d for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3sA-0001Ob-KJ for 57298@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 12EF3240103 for <57298@debbugs.gnu.org>; Fri, 19 Aug 2022 17:25:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660922717; bh=46Ojl6nO8L0GtmA/fPHYLTLFrabUlA5lViis4sU5OiM=; h=From:To:Cc:Subject:Date:From; b=pqlJGDyJMWOLYSMmKVYDwCeHDd6tsQaD4smPqWC2uCnwwQjVHQDWIuSNYDAob52rB NT3HTMCXwgrsogpMTPRmtu82h4bq48eE8lBknCEFq55pwPGAjD7ngkrOVv1mma7op4 R5yPPI6N7yQlVs03yqsF0dXd9MKawZ/g3W3MxGA/AfTSL9JZhbmRhQ/anAPxSQP5Pn kRN6vY+IBOw7sXWfbt4QbqmAd998MFr1yP870eDuQ7hsaXT2IZWk9rQ9HHxb3BhcbF 07ylKni+LgpupYocdYDdb7aPHTPGlZpqn5doTxiWpjM3Nwu/12Yc2tb3pLWaEE28ql 6Ny2q4BxcR1Tg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M8QYS4GGWz9rxW; Fri, 19 Aug 2022 17:25:16 +0200 (CEST) From: pukkamustard Date: Fri, 19 Aug 2022 15:24:30 +0000 Message-Id: <20220819152432.26135-3-pukkamustard@posteo.net> In-Reply-To: <20220819152432.26135-1-pukkamustard@posteo.net> References: <20220819152149.25881-1-pukkamustard@posteo.net> <20220819152432.26135-1-pukkamustard@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-crowbar): New variable. --- gnu/packages/ocaml.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index dc56fb3ba3..506153785a 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8604,6 +8604,42 @@ (define-public ocaml-pprint document and by the text width.") (license license:lgpl2.0))) +(define-public ocaml-crowbar + (package + (name "ocaml-crowbar") + (version "0.2.1") + (home-page "https://github.com/stedolan/crowbar") + (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 + "11f3kiw58g8njx15akx16xcplzvzdw9y6c4jpyfxylkxws4g0f6j")))) + (build-system dune-build-system) + (arguments + ;; Tests require ocaml-xmldiff which requires OCaml 4.12.0 + `(#:tests? #f)) + (propagated-inputs + (list ocaml-ocplib-endian + ocaml-cmdliner + ocaml-afl-persistent)) + (native-inputs + (list ocaml-calendar + ocaml-fpath + ocaml-uucp + ocaml-uunf + ocaml-uutf + ocaml-pprint)) + (synopsis "Ocaml library for tests, let a fuzzer find failing cases") + (description "Crowbar is a library for testing code, combining +QuickCheck-style property-based testing and the magical bug-finding powers of +@uref{http://lcamtuf.coredump.cx/afl/, afl-fuzz}.") + (license license:expat))) + (define-public ocaml-bibtex2html (package (name "ocaml-bibtex2html") From patchwork Fri Aug 19 15:24:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41781 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8DAAE27BBEA; Fri, 19 Aug 2022 16:27:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 50E5C27BBE9 for ; Fri, 19 Aug 2022 16:27:55 +0100 (BST) Received: from localhost ([::1]:46014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP3uc-00033N-H1 for patchwork@mira.cbaines.net; Fri, 19 Aug 2022 11:27:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3sq-0001ln-GS for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP3sq-0004Gk-0I for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP3sp-0001Qi-T2 for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57298] [PATCH 4/5] gnu: Add ocaml-eqaf. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Aug 2022 15:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57298@debbugs.gnu.org Cc: pukkamustard Received: via spool by 57298-submit@debbugs.gnu.org id=B57298.16609227285420 (code B ref 57298); Fri, 19 Aug 2022 15:26:03 +0000 Received: (at 57298) by debbugs.gnu.org; 19 Aug 2022 15:25:28 +0000 Received: from localhost ([127.0.0.1]:59130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3sG-0001PM-GK for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3sC-0001Od-7f for 57298@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A907F24002A for <57298@debbugs.gnu.org>; Fri, 19 Aug 2022 17:25:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660922718; bh=11Fj63pMNBRMdd6l6hAi0CWM41WjnCYkpQ6xunqTjpI=; h=From:To:Cc:Subject:Date:From; b=ZvR2vdfiH4WnTstJpvfZMPeBApWUhiv6xsmXHrzQH2wp4jrEhWMwpCc5OG+9qYMok 9wGNxQLIHoyzYSbtu0HJFQ/g0GWCN/7BC4W+vE/7I3wxjVq+UBtWSRu6v1s89lvURR YUcVz/bC7vOwgUrm/54EX0Ud7frKiMLF1Ntc92lrFSjOVG+r5G6obmuLVrKOLXbM3s oYed5lLWw5KsgsRLp7drT0hEVr1SALAntATHQcs06qaUS97giOVx9KcuuDQWpbz2B/ hNHzL1Gbttz7SjXpwhvshruJVHKuPbhKGhaBplXkvMvh73u7rlAaYz1HZm5HcEX6C4 Md0nKD0SgwIqg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M8QYV14W0z9rxN; Fri, 19 Aug 2022 17:25:18 +0200 (CEST) From: pukkamustard Date: Fri, 19 Aug 2022 15:24:31 +0000 Message-Id: <20220819152432.26135-4-pukkamustard@posteo.net> In-Reply-To: <20220819152432.26135-1-pukkamustard@posteo.net> References: <20220819152149.25881-1-pukkamustard@posteo.net> <20220819152432.26135-1-pukkamustard@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-eqaf): New variable. --- gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 506153785a..f078241c10 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8640,6 +8640,29 @@ (define-public ocaml-crowbar @uref{http://lcamtuf.coredump.cx/afl/, afl-fuzz}.") (license license:expat))) +(define-public ocaml-eqaf + (package + (name "ocaml-eqaf") + (version "0.9") + (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 + "16ics56wiqyng70dy2hqikicm8ag1mv5w1h7hkiwvydw1x2j2rsl")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-cstruct)) + (native-inputs (list ocaml-alcotest ocaml-crowbar)) + (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 ocaml-bibtex2html (package (name "ocaml-bibtex2html") From patchwork Fri Aug 19 15:24:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41780 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6ED2C27BBEA; Fri, 19 Aug 2022 16:27:43 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 68B4027BBE9 for ; Fri, 19 Aug 2022 16:27:40 +0100 (BST) Received: from localhost ([::1]:50460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oP3uN-0002kW-JP for patchwork@mira.cbaines.net; Fri, 19 Aug 2022 11:27:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oP3sq-0001m3-LW for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41156) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oP3sq-0004Gr-Dc for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oP3sq-0001Qp-9o for guix-patches@gnu.org; Fri, 19 Aug 2022 11:26:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57298] [PATCH 5/5] gnu: Add ocaml-digestif. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Aug 2022 15:26:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57298@debbugs.gnu.org Cc: pukkamustard Received: via spool by 57298-submit@debbugs.gnu.org id=B57298.16609227325431 (code B ref 57298); Fri, 19 Aug 2022 15:26:04 +0000 Received: (at 57298) by debbugs.gnu.org; 19 Aug 2022 15:25:32 +0000 Received: from localhost ([127.0.0.1]:59132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3sJ-0001PX-Sn for submit@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:32 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP3sF-0001Ot-Hk for 57298@debbugs.gnu.org; Fri, 19 Aug 2022 11:25:28 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F241D240106 for <57298@debbugs.gnu.org>; Fri, 19 Aug 2022 17:25:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660922722; bh=DW4lI4wmXXrG5yxkWjE8ecj5tqnuzLNiYsQSbI+EpS0=; h=From:To:Cc:Subject:Date:From; b=hYCfs3cUTkJoLVUAcx5p29GgZEuB7hbicLxCzo6tBO1RUlx+zt0VAm2/kRVt820Ju 3tTXAuFHHWY1Y38JacoE90j7ha1TLFg0g7z1r6naJzDsLaL2jBVPQ7pHiKk552fCGH 9LB6YQxldOIkKNAfPPThMS0LLKJII/tMy0wXbNFwhpmX41pJnw7x1AOrB9Ku6FUbXl z7r1GozVv29i/JKfhm37t9EN+pCviRvjcFZS8n/421On/CZeHMMVq0gud7EoAeB6WV vDANEFneTQCz/s0CFxGP7hpheiCv6AkEK3FClJ2rXZviBJBQGJMUqZSz8L2bF73NZI NxDF2eI0UiPpg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M8QYY3DH8z9rxH; Fri, 19 Aug 2022 17:25:21 +0200 (CEST) From: pukkamustard Date: Fri, 19 Aug 2022 15:24:32 +0000 Message-Id: <20220819152432.26135-5-pukkamustard@posteo.net> In-Reply-To: <20220819152432.26135-1-pukkamustard@posteo.net> References: <20220819152149.25881-1-pukkamustard@posteo.net> <20220819152432.26135-1-pukkamustard@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-digestif): 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 f078241c10..6dde939ad7 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8663,6 +8663,39 @@ (define-public ocaml-eqaf constant-time to avoid timing-attack with crypto stuff.") (license license:expat))) +(define-public ocaml-digestif + (package + (name "ocaml-digestif") + (version "1.1.2") + (home-page "https://github.com/mirage/digestif") + (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 + "0mc233d63y04jznsn3bxncgv7fkvyngbv6hcka412iq0y3x4qsmq")))) + (build-system dune-build-system) + (propagated-inputs (list ocaml-eqaf)) + (native-inputs + (list pkg-config + ocaml-fmt + ocaml-alcotest + ocaml-bos + ocaml-astring + ocaml-fpath + ocaml-rresult + ocaml-findlib)) + (synopsis "Simple hash algorithms in OCaml") + (description + "Digestif is an OCaml library that provides implementations of hash +algorithms. Implemented hash algorithms include MD5, SHA1, SHA224, SHA256, +SHA384, SHA512, Blake2b, Blake2s and RIPEMD160.") + (license license:expat))) + (define-public ocaml-bibtex2html (package (name "ocaml-bibtex2html")