2009-04-19 21:18:07 +02:00
|
|
|
{cabal, ghcPaths, libedit}:
|
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";
|
|
|
|
version = "2.4.2"; # Haskell Platform 2009.0.0
|
|
|
|
name = self.fname;
|
|
|
|
sha256 = "dbf0a7d0103a3ce6a91b2a3b96148c1b9c13ea7f8bd74260c21fe98df7839547";
|
2009-04-19 21:18:07 +02:00
|
|
|
# TODO: adding libedit here is a hack
|
|
|
|
propagatedBuildInputs = [ghcPaths libedit];
|
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;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2009-04-19 15:38:34 +02:00
|
|
|
};
|
|
|
|
})
|