From cb9a9d6ed4ea2dc2ae6c48d3c6298481d20cd3cf Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 10:45:58 -0800 Subject: [PATCH 18/34] gnu: Add ghc-hspec-discover. * gnu/packages/haskell-check.scm (ghc-hspec-discover): New variable. --- gnu/packages/haskell-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell-check.scm b/gnu/packages/haskell-check.scm index 98b7617520..94bf76ec3f 100644 --- a/gnu/packages/haskell-check.scm +++ b/gnu/packages/haskell-check.scm @@ -1022,3 +1022,27 @@ to properly work doctest needs plenty of configuration. This library provides the common bits for writing custom Setup.hs.") (license license:bsd-3))) +(define-public ghc-hspec-discover + (package + (name "ghc-hspec-discover") + (version "2.7.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/hspec-discover/hspec-discover-" + version + ".tar.gz")) + (sha256 + (base32 + "0r47fm94wa6qrhp8cc1zzkjrxc32rnagfn9m9ga4dm6p6ydw4c8b")))) + (build-system haskell-build-system) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec-meta" ,ghc-hspec-meta))) + (home-page "http://hspec.github.io/") + (synopsis + "Automatically discover and run Hspec tests") + (description + "Automatically discover and run Hspec tests.") + (license license:expat))) -- 2.25.0