2012-02-14 17:00:37 +00:00
|
|
|
{ cabal, alex, Cabal, filepath, ghcPaths, happy }:
|
2009-04-19 14:38:34 +01:00
|
|
|
|
2011-08-15 12:27:02 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2009-04-19 14:38:34 +01:00
|
|
|
pname = "haddock";
|
2011-08-23 11:35:49 +01:00
|
|
|
version = "2.4.2";
|
2009-04-19 14:38:34 +01:00
|
|
|
sha256 = "dbf0a7d0103a3ce6a91b2a3b96148c1b9c13ea7f8bd74260c21fe98df7839547";
|
2011-08-23 11:35:49 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
2012-02-14 17:00:37 +00:00
|
|
|
buildDepends = [ Cabal filepath ghcPaths ];
|
2011-10-02 21:13:54 +01:00
|
|
|
buildTools = [ alex happy ];
|
2013-02-24 21:21:54 +00:00
|
|
|
doCheck = false;
|
2009-04-19 14:38:34 +01:00
|
|
|
meta = {
|
2011-08-15 12:27:02 +01:00
|
|
|
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 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-04-19 14:38:34 +01:00
|
|
|
};
|
|
|
|
})
|