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