From: Paul van der Walt <[email protected]>

* gnu/packages/haskell.scm (ghc-hspec-discover): New variable.
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 307fa64..1a8b321 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1435,6 +1435,28 @@ responses coming back.")
 @uref{https://github.com/sol/hspec-expectations#readme, the README}.")
     (license expat)))
 
+(define-public ghc-hspec-discover
+  (package
+    (name "ghc-hspec-discover")

IMHO the name should be "hspec-discover" as this is a standalone program,
rather than a haskell library.

+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"http://hackage.haskell.org/package/hspec-discover/hspec-discover-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0w3awzbljf4hqhxrjrxqa1lfcclg92bhmq641gz2q80vycspapzx"))))
+    (build-system haskell-build-system)
+    (arguments `(#:haddock? #f))

Add a comment here noting how there are no documentation files.

+    (inputs `(("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.")

Expand this to a full sentence.

`~Eric

Reply via email to