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")