From patchwork Wed Jan 23 07:21:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 800 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 96E0C16A23; Wed, 23 Jan 2019 07:26:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 06D48169D2 for ; Wed, 23 Jan 2019 07:26:26 +0000 (GMT) Received: from localhost ([127.0.0.1]:57161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmCvZ-0008RB-Gv for patchwork@mira.cbaines.net; Wed, 23 Jan 2019 02:26:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmCrM-00055T-GZ for guix-patches@gnu.org; Wed, 23 Jan 2019 02:22:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmCrK-0005eU-NI for guix-patches@gnu.org; Wed, 23 Jan 2019 02:22:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmCrK-0005eK-JA for guix-patches@gnu.org; Wed, 23 Jan 2019 02:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmCrK-0003sL-Dj for guix-patches@gnu.org; Wed, 23 Jan 2019 02:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34171] [PATCH 5/5] gnu: Add ocaml-craml. References: <87bm48zlso.fsf@gmail.com> In-Reply-To: <87bm48zlso.fsf@gmail.com> Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Jan 2019 07:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34171 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34171@debbugs.gnu.org Received: via spool by 34171-submit@debbugs.gnu.org id=B34171.154822811814874 (code B ref 34171); Wed, 23 Jan 2019 07:22:02 +0000 Received: (at 34171) by debbugs.gnu.org; 23 Jan 2019 07:21:58 +0000 Received: from localhost ([127.0.0.1]:41948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmCrD-0003rl-AL for submit@debbugs.gnu.org; Wed, 23 Jan 2019 02:21:57 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:36553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gmCrB-0003rT-L2 for 34171@debbugs.gnu.org; Wed, 23 Jan 2019 02:21:54 -0500 Received: by mail-wm1-f48.google.com with SMTP id p6so903366wmc.1 for <34171@debbugs.gnu.org>; Tue, 22 Jan 2019 23:21:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=sz0ZlZz0zTnHBm8pzrTyeVXluONh7dqPP3rtxo3yGjk=; b=ZcacDqgcC3caoqQ6a6zS98fh4DMI16U1M8Rgs5Pn+Ofzn/HIRJSKeCAj+BgzKDwZUo yo0alZw2OoPcBf0IGP9jP47eF+tUzLYcS0a70BZ7O5kk+3YDqXij3TaZG+3VTczi12lj 4wBhX9vyJ6F47pK+Ypnbl/2NDmTlNiX7Uuf8eXRW99/pwuH9DiWITgn1LqvxxjNlk0b2 G9EfxXJN1aTWRkcLqhvC7iAtK/7MnCdFCUC35aiPyVYmjr57akzYiYntZk8Xqs0vzYGc 2hu8v2x/EiORLVkY4oXkw9aAaSYImLw0wIDfqy8OeyPcYSR0GYaX96M9hvZXlfNSl54e totA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=sz0ZlZz0zTnHBm8pzrTyeVXluONh7dqPP3rtxo3yGjk=; b=PW9N+bGfuaUZ3POyTbfmLqNJYknRbzX4Fs+3sSRZTZTmwdT2cEZ3EKvwWmmmCCZvGI 0hphCgC+00Xln5BJdv2a5K4YODR5vVqUrOcaVdp+kKQK0x+qvE3GtZ/XLZs0Al3C4bM0 fdGaCz9J+Z0PF2okYbu/R3spiskAD/T2EOB8pdT7BrPO+fz7RZVisNfd1p5LMpAPcc4p xOEItOx9W+f8tjaet1IlAS+TFD0zgbZ2pxQnVgl7jDvt043X28HlAT/oUSWclXdYC49I BAb8EfAdCRTLLz78mJPZTho7pKPgabTUD/Jq2I4amcBY2/FRw8DOYHI8fA3J9X5kdsv7 xyzA== X-Gm-Message-State: AJcUukePzKIQSCmp9Z528piG3UwtnG9jUOg2zthZVFtSRC/fCG3xnI8+ XjurFRLN78MPZlwtSSLMBuBDZscz X-Google-Smtp-Source: ALg8bN47arf3vlbZy8t4xPzJwDpP4Hn909AgbWht5AlsDTAhD8xfb+mdw1UgEjSUl+yZmOG2fz1FhQ== X-Received: by 2002:a1c:990c:: with SMTP id b12mr1602551wme.106.1548228107654; Tue, 22 Jan 2019 23:21:47 -0800 (PST) Received: from glht-aurore.gmail.com ([217.109.134.89]) by smtp.gmail.com with ESMTPSA id f2sm90411947wru.14.2019.01.22.23.21.47 for <34171@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 23:21:47 -0800 (PST) From: Gabriel Hondet Date: Wed, 23 Jan 2019 08:21:46 +0100 Message-ID: <875zufzvn9.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 Date: Tue, 22 Jan 2019 17:40:01 +0100 User-agent: mu4e 1.0; emacs 26.1 +@code{https://bitheap.org/cram/, Python tool}, which was itself based on * gnu/packages/ocaml.scm (ocaml-craml): New variable. --- gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index ca8f804ab..4c3aa36b0 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -4760,6 +4760,36 @@ yojson package. The program @code{atdgen} can be used to derive OCaml-JSON serializers and deserializers from type definitions.") (license license:bsd-3))) +(define-public ocaml-craml + (package + (name "ocaml-craml") + (version "1.0.0") + (home-page "https://github.com/realworldocaml/craml") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "197xjp4vmzdymf2ndinw271ihpf45h04mx8gqj8ypspxdr5fj1a5")))) + (build-system dune-build-system) + (inputs + `(("ocaml-fmt" ,ocaml-fmt) + ("ocaml-astring" ,ocaml-astring) + ("ocaml-logs" ,ocaml-logs) + ("ocaml-cmdliner" ,ocaml-cmdliner))) + (synopsis + "CRAM-testing framework for testing command line applications") + (description "CRAM is a is functional testing framework for command line +applications. @code{craml} is freely inspired by the +Mercurial's @code{https://www.selenic.com/blog/?p=663, unified test +format}. @code{craml} is released as a single binary (called @code{craml}).") + (license license:isc))) + (define-public ocaml-merlin (package (name "ocaml-merlin") -- 2.20.1