summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-10-16 10:59:23 +0200
committerPaul van der Walt <paul@denknerd.org>2015-10-23 09:10:52 +0200
commit735bd9c952efac2ae4f9f48fe259251e1909de77 (patch)
tree18b325d397a0757c40c8472aa5a7e4e95ba2a4c5 /gnu
parent56b3bc5694837c8558c007d4112ac16bf0fdd395 (diff)
downloadpatches-735bd9c952efac2ae4f9f48fe259251e1909de77.tar
patches-735bd9c952efac2ae4f9f48fe259251e1909de77.tar.gz
gnu: Add ghc-haddock-api.
* gnu/packages/haskell.scm (ghc-haddock-api): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/haskell.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f47f3ac398..88a551ce36 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -417,6 +417,30 @@ project if you can't release often. For interacting with Haddock itself, see
the ‘haddock’ package.")
(license bsd-3)))
+(define-public ghc-haddock-api
+ (package
+ (name "ghc-haddock-api")
+ (version "2.16.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/haddock-api/haddock-api-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1spd5axg1pdjv4dkdb5gcwjsc8gg37qi4mr2k2db6ayywdkis1p2"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-paths" ,ghc-paths)
+ ("ghc-haddock-library" ,ghc-haddock-library)))
+ (home-page "http://www.haskell.org/haddock/")
+ (synopsis "API for documentation-generation tool Haddock")
+ (description "This package provides an API to Haddock, the
+documentation-generation tool for Haskell libraries.")
+ (license bsd-3)))
+
(define-public ghc-simple-reflect
(package
(name "ghc-simple-reflect")