[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/05: gnu: Add ghc-hspec-discover.
From: |
guix-commits |
Subject: |
05/05: gnu: Add ghc-hspec-discover. |
Date: |
Sat, 8 Feb 2020 09:40:32 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit a60448edcc85faa8b3cd4bd3ae8a336c842aad4d
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Sat Feb 8 15:17:15 2020 +0100
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 c6e8946..0dae620 100644
--- a/gnu/packages/haskell-check.scm
+++ b/gnu/packages/haskell-check.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2018 Tonton <address@hidden>
;;; Copyright © 2018 Arun Isaac <address@hidden>
;;; Copyright © 2019 Timothy Sample <address@hidden>
+;;; Copyright © 2020 Nicolas Goaziou <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -772,6 +773,29 @@ Haskell, inspired by the Ruby library RSpec.")
"This package provides contributed Hspec extensions.")
(license license:expat)))
+(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. See
+@url{http://hspec.github.io/hspec-discover.html}.")
+ (license license:expat)))
+
(define-public ghc-hspec-expectations
(package
(name "ghc-hspec-expectations")