From patchwork Mon Aug 9 07:01:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 31931 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 35BDC27BC78; Mon, 9 Aug 2021 08:03:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DF0DC27BC6B for ; Mon, 9 Aug 2021 08:03:12 +0100 (BST) Received: from localhost ([::1]:44248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCzJS-0005an-Vd for patchwork@mira.cbaines.net; Mon, 09 Aug 2021 03:03:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCzIZ-0004Ty-Av for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCzIZ-0000Iw-27 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCzIY-0003dc-W2 for guix-patches@gnu.org; Mon, 09 Aug 2021 03:02:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 07:02:10 +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.162849251713795 (code B ref 49867); Mon, 09 Aug 2021 07:02:10 +0000 Received: (at 49867) by debbugs.gnu.org; 9 Aug 2021 07:01:57 +0000 Received: from localhost ([127.0.0.1]:55483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIK-0003aK-W4 for submit@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:57 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCzIC-0003Wm-Ae for 49867@debbugs.gnu.org; Mon, 09 Aug 2021 03:01:48 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 96207240103 for <49867@debbugs.gnu.org>; Mon, 9 Aug 2021 09:01:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628492502; bh=HX6whJ2Jii+YzGptS+2jCxsDDqI/UFTPjGaxF0EU8EU=; h=From:To:Cc:Subject:Date:From; b=PYEzqB7j7eGVwr68oibQDjR0t0RpgK4GPtGX0LfwNR+RDQKwXgkKUuDZ60/hA1P3v nT8OYNUckSV9SgGPVVLj+W1QmSJCbvsfT4TiufS8obXOdEK9VzPHpINrteZ5C7GO94 aI9U994KAz2jmZwl1dWlNMcr22ri2VH5q/gM8e469MyZpbF0btrCzOwWfeP+WWrQAp EAJGmcfS8SpBrtp77c3oa4FlnN6EY6SwUk5kot/As+/90pFpQ9XaLaxZuJOyrjPNkl kNaIzwpi9rdQL9VbH/P8TCYeGuHBjGSEmyGZb+G3R+Ve7gZPTRstCiYd5HiZO5azYH AUI2PBiftidyw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gjn7T70xrz6tmG; Mon, 9 Aug 2021 09:01:41 +0200 (CEST) From: pukkamustard Date: Mon, 9 Aug 2021 07:01:04 +0000 Message-Id: <20210809070124.25641-11-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 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 5a7acb4ba8..dba715d2f5 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7528,6 +7528,42 @@ breaks, while respecting the constraints imposed by the structure of the document and by the text width.") (license license:lgpl2.0))) +(define-public ocaml-crowbar + (package + (name "ocaml-crowbar") + (version "0.2") + (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 + "0wjfc9irvirfkic32ivvj6qb7r838w08b0d3vmngigbjpjyc9b14")))) + (build-system dune-build-system) + (arguments + ;; Tests require ocaml-xmldiff which requires OCaml 4.12.0 + `(#:tests? #f)) + (propagated-inputs + `(("ocaml-ocplib-endian" ,ocaml-ocplib-endian) + ("ocaml-cmdliner" ,ocaml-cmdliner) + ("ocaml-afl-persistent" ,ocaml-afl-persistent))) + (native-inputs + `(("ocaml-calendar" ,ocaml-calendar) + ("ocaml-fpath" ,ocaml-fpath) + ("ocaml-uucp" ,ocaml-uucp) + ("ocaml-uunf" ,ocaml-uunf) + ("ocaml-uutf" ,ocaml-uutf) + ("ocaml-pprint" ,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 +[afl-fuzz](http://lcamtuf.coredump.cx/afl/).") + (license license:expat))) + (define-public js-of-ocaml (package (name "js-of-ocaml")