[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/153: gnu: Add ghc-doctest.
From: |
Paul |
Subject: |
60/153: gnu: Add ghc-doctest. |
Date: |
Thu, 22 Oct 2015 10:11:16 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 5d503606bdf19524e32105a797fc6d48c6e27e7c
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 14:03:37 2015 +0200
gnu: Add ghc-doctest.
* gnu/packages/haskell.scm (ghc-doctest): New variable.
---
gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index cfe2ebe..855a21b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2215,4 +2215,39 @@ command line options in Haskell.")
available in later versions of base to a wider (older) range of compilers.")
(license bsd-3)))
+(define-public ghc-doctest
+ (package
+ (name "ghc-doctest")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/doctest/doctest-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1jbyhzbi2hfrfg7vbkpj6vriaap8cn99nnmzwcfscwaijz09jyrm"))))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f)) ; FIXME: missing test framework
+ (propagated-inputs
+ `(("ghc-syb" ,ghc-syb)
+ ("ghc-paths" ,ghc-paths)))
+ (inputs
+ `(("ghc-base-compat" ,ghc-base-compat)
+ ("ghc-hunit" ,ghc-hunit)
+ ("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-stringbuilder" ,ghc-stringbuilder)
+ ("ghc-silently" ,ghc-silently)
+ ("ghc-setenv" ,ghc-setenv)))
+ (home-page
+ "https://github.com/sol/doctest#readme")
+ (synopsis "Test interactive Haskell examples")
+ (description "The doctest program checks examples in source code comments.
+It is modeled after doctest for Python, see
address@hidden://docs.python.org/library/doctest.html, the Doctest website}.")
+ (license expat)))
+
;;; haskell.scm ends here
- 46/153: gnu: Add ghc-uniplate., (continued)
- 46/153: gnu: Add ghc-uniplate., Paul, 2015/10/22
- 38/153: gnu: Add ghc-pcre-light., Paul, 2015/10/22
- 31/153: gnu: Add ghc-hspec-meta., Paul, 2015/10/22
- 49/153: gnu: Add ghc-base-orphans., Paul, 2015/10/22
- 40/153: gnu: Add ghc-xml., Paul, 2015/10/22
- 45/153: gnu: Add ghc-base64-bytestring., Paul, 2015/10/22
- 50/153: gnu: Add ghc-vault., Paul, 2015/10/22
- 48/153: gnu: Add ghc-optparse-applicative., Paul, 2015/10/22
- 54/153: gnu: Add ghc-byteorder., Paul, 2015/10/22
- 43/153: gnu: Add ghc-annotated-wl-pprint., Paul, 2015/10/22
- 60/153: gnu: Add ghc-doctest.,
Paul <=
- 32/153: gnu: Add hspec-discover., Paul, 2015/10/22
- 44/153: gnu: Add ghc-ansi-wl-pprint., Paul, 2015/10/22
- 51/153: gnu: Add ghc-mmorph., Paul, 2015/10/22
- 55/153: gnu: Add ghc-easy-file., Paul, 2015/10/22
- 56/153: gnu: Add ghc-base-compat., Paul, 2015/10/22
- 59/153: gnu: Add ghc-blaze-html., Paul, 2015/10/22
- 61/153: gnu: Add ghc-auto-update., Paul, 2015/10/22
- 57/153: gnu: Add ghc-blaze-builder., Paul, 2015/10/22
- 63/153: gnu: Add ghc-unbounded-delays., Paul, 2015/10/22
- 65/153: gnu: Add ghc-unix-time., Paul, 2015/10/22