gnu: Add cabal-doctest.

* gnu/packages/haskell.scm (cabal-doctest): New variable.
This commit is contained in:
Ricardo Wurmus 2018-02-13 12:49:01 +01:00
parent 6b76b705c6
commit 3168796a3f
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 22 additions and 0 deletions

View File

@ -1615,6 +1615,28 @@ Haskell software by automating the fetching, configuration, compilation and
installation of Haskell libraries and programs.") installation of Haskell libraries and programs.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public cabal-doctest
(package
(name "cabal-doctest")
(version "1.0.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"cabal-doctest/cabal-doctest-"
version ".tar.gz"))
(sha256
(base32
"0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny"))))
(build-system haskell-build-system)
(home-page "https://github.com/phadej/cabal-doctest")
(synopsis "Setup.hs helper for running doctests")
(description
"To properly work, the @code{doctest} package needs plenty of
configuration. This library provides the common bits for writing custom
@file{Setup.hs} files.")
(license license:bsd-3)))
(define-public ghc-mtl (define-public ghc-mtl
(package (package
(name "ghc-mtl") (name "ghc-mtl")