2013-02-24 13:09:07 -08:00
|
|
|
{ cabal, alex, Cabal, filepath, ghcPaths, happy, regexCompat, xhtml
|
|
|
|
}:
|
2011-10-02 13:27:20 -07:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "haddock";
|
2011-10-04 07:58:28 -07:00
|
|
|
version = "2.9.4";
|
|
|
|
sha256 = "18w5pa1zpjy9mmdzjh0hs8jybmky8j87vzry54nni6a3517c5x86";
|
2011-10-02 13:27:20 -07:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2012-02-14 09:00:37 -08:00
|
|
|
buildDepends = [ Cabal filepath ghcPaths xhtml ];
|
2013-02-24 13:09:07 -08:00
|
|
|
testDepends = [ Cabal filepath regexCompat ];
|
2011-10-02 13:27:20 -07:00
|
|
|
buildTools = [ alex happy ];
|
2013-02-24 13:21:54 -08:00
|
|
|
doCheck = false;
|
2011-10-02 13:27:20 -07:00
|
|
|
meta = {
|
|
|
|
homepage = "http://www.haskell.org/haddock/";
|
|
|
|
description = "A documentation-generation tool for Haskell libraries";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 15:36:36 -07:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-10-02 13:27:20 -07:00
|
|
|
};
|
|
|
|
})
|