From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aFUdDK7evmTQQQEASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 22:27:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0MgADK7evmSEVwAA9RJhRA (envelope-from ) for ; Mon, 24 Jul 2023 22:27:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 002D33AD75 for ; Mon, 24 Jul 2023 22:27:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=EspABOwB; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690230446; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SuwkS3oW+eovrk1g9t/9xX1FPdi5CvBv7+pMCDldD4A=; b=HD8ukm+cwlABrc7hK+t0To4J339TeTUcoDsJusvjIThneAEIo4hdeAQWiCaeSFHlSn1nBI dM0qhnv4Hv1/qV5dTjncYJ2odV0G0Ke54kRyXYd7i6tz43f0CwAAgRrSHgQz+sDXZd6PlX UIl1woRH0M4Fl+78tQUEK8WC66DpgxUa0F3U7o47CHCCP6ygUCJ/hygfiyPzgD2YQ91qqA 0ePLzno2GP4EjInnxeZGNJlSb3MUAZ5gvsXS4YworndKnjoQhZnxzNVcf62XuMLB9mZPos ctCfumRhT/E1d0E1nCka3fdbCoJfPPsEE+8ipgP1Xd8a3CGzpDARfYnixMp/1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690230446; a=rsa-sha256; cv=none; b=fyMJkx9NuOivGxixmG/VhFVXec2rD8yvuihkhM66akgYqC1V4tToh2+7GN2xiKPkeBZgmr JSwAgMuewxLAS/+NpBHnUDWbJ2y/0QiFfl/cSopd4OHG8actxPWW8Uie4UafjktZMDzPfW VLFuS2lH7dRsxV/gXCE4ZZlqf13ldUbgUflIjOgGBTR5i4pMrsRr1SZypIoZZid8wyotvo 4kZinOtkzDkUxcdBcQPqlWinkFSfjuaLJpARY4KBH4Z5A/WGnabl8wzCFIcEEHAHwY04yx ak35AdDOnqIitZ++/WjVZH2mGq/HS6J7PgoziOPA/w6B84HBf63h0KA/Bc9X5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=EspABOwB; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.66 X-Spam-Score: -3.66 X-Migadu-Queue-Id: 002D33AD75 X-Migadu-Scanner: mx1.migadu.com X-TUID: c+uKAPuzjpUd * 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") -- 2.41.0