From patchwork Mon Jul 24 20:23:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52171 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 A6FBB27BBE2; Mon, 24 Jul 2023 21:27:27 +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=ham 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 EDF2527BBEA for ; Mon, 24 Jul 2023 21:27:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29H-0001oM-42; Mon, 24 Jul 2023 16:27:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO294-0001kj-5P for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO293-00008v-GT for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO293-00055M-Ch for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 09/12] gnu: Add ghc-hspec-golden. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039219437 (code B ref 64840); Mon, 24 Jul 2023 20:27:05 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:32 +0000 Received: from localhost ([127.0.0.1]:44223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28W-00053L-0l for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:32 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28O-00051c-Fi for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:24 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBM12HXz9tV9 for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230379; bh=l81vUC7cFeLCDiN6KdkxVNVMArQD8m+wPLXfu7qn74k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EspABOwBkxMONKyPgB4Ma8GjNpqIom7rytqRAcK0OuYS+ZZfC4M3n4FXc2eOkTYu8 XLO+s78I7UtypuCNerlUxKf2xz7EuuREqEAn/IGRj0XPzBMDagBHGoPI8gjb3mkI7Z a7hp7lqVKavMfu0AlT6UtGqs/TvW4Pgf86r2DaBs= X-Riseup-User-ID: DB363E9B5E5A15163EC0DBC841F0381B7E60FF34177A2AA16F0EE8114F5134A6 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBL39HQzJntF; Mon, 24 Jul 2023 20:26:18 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:11 -0500 Message-ID: <20230724202532.8993-9-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-hspec-golden): New variable. --- gnu/packages/haskell-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 34a1a32cc7..e3c5d525b1 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16606,6 +16606,32 @@ (define-public ghc-newtype such as ala'.") (license license:bsd-3))) +(define-public ghc-hspec-golden + (package + (name "ghc-hspec-golden") + (version "0.2.1.0") + (source (origin + (method url-fetch) + (uri (hackage-uri "hspec-golden" version)) + (sha256 + (base32 + "07bfwj10n75l5zskwx4yzi86xxp5b4f692bjjkqs5b970h6gw33y")))) + (build-system haskell-build-system) + (properties '((upstream-name . "hspec-golden"))) + (inputs (list ghc-hspec + ghc-hspec-core + ghc-silently + ghc-optparse-applicative + hspec-discover)) + (home-page "https://hackage.haskell.org/package/hspec-golden") + (synopsis "Haskell golden tests for hspec") + (description + "This package provides golden tests store the expected output in a +separated file. +Each time a golden test is executed the output of the subject +under test (SUT) is compared with the expected output.") + (license license:expat))) + (define-public ghc-hspec-hedgehog (package (name "ghc-hspec-hedgehog")