toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a in repository guix.
commit 2031dfadb5dd3d469cdf5f6dd8bc014d9c7f56d0 Author: Paul van der Walt <[email protected]> Date: Thu Oct 15 21:06:41 2015 +0200 gnu: Add hspec-discover. * gnu/packages/haskell.scm (hspec-discover): New variable. --- gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 63ac054..aec253c 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1420,6 +1420,30 @@ responses coming back.") @uref{https://github.com/sol/hspec-expectations#readme, the README}.") (license expat))) +(define-public hspec-discover + (package + (name "hspec-discover") + (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)) ; Haddock phase fails because 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 "hspec-discover is a tool which automatically discovers and +runs Hspec tests.") + (license expat))) + (define-public ghc-hspec-core (package (name "ghc-hspec-core")
