unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Distopico <distopico@riseup.net>
To: 64840@debbugs.gnu.org
Cc: Distopico <distopico@riseup.net>
Subject: [bug#64840] [PATCH 09/12] gnu: Add ghc-hspec-golden.
Date: Mon, 24 Jul 2023 15:23:11 -0500	[thread overview]
Message-ID: <20230724202532.8993-9-distopico@riseup.net> (raw)
In-Reply-To: <20230724202532.8993-1-distopico@riseup.net>

* 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





  parent reply	other threads:[~2023-07-24 20:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 20:15 [bug#64840] [PATCH 00/12] Add elm-format Distopico
2023-07-24 20:23 ` [bug#64840] [PATCH 01/12] gnu: ghc-quickcheck-instances: Update to 0.3.29 Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 02/12] gnu: Add ghc-generically Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 03/12] gnu: Add ghc-aeson-2.1 Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 04/12] gnu: Add ghc-data-array-byte Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 05/12] gnu: Add ghc-pooled-io Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 06/12] gnu: Add ghc-text Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 07/12] gnu: Add ghc-relude Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 08/12] gnu: Add ghc-concurrent-split Distopico
2023-07-24 20:23   ` Distopico [this message]
2023-07-24 20:23   ` [bug#64840] [PATCH 10/12] gnu: Add ghc-bimap Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 11/12] gnu: Fix missing required ghc-text dependency Distopico
2023-07-24 20:23   ` [bug#64840] [PATCH 12/12] gnu: Add elm-format Distopico
2023-08-31 17:48 ` [bug#64840] [PATCH 00/12] " Distopico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230724202532.8993-9-distopico@riseup.net \
    --to=distopico@riseup.net \
    --cc=64840@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).