2012-09-10 13:18:40 +01:00
|
|
|
{ cabal, alex, Cabal, deepseq, filepath, ghcPaths, happy, xhtml }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "haddock";
|
|
|
|
version = "2.12.0";
|
|
|
|
sha256 = "00kdmpa6vhn6x790641ln40v3pn7aj4ws6pq854n1iyg5ly3ridn";
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ Cabal deepseq filepath ghcPaths xhtml ];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [ Cabal filepath ];
|
2012-09-10 13:18:40 +01:00
|
|
|
buildTools = [ alex happy ];
|
2013-02-24 21:21:54 +00:00
|
|
|
doCheck = false;
|
2012-09-10 13:18:40 +01: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 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-09-10 13:18:40 +01:00
|
|
|
};
|
|
|
|
})
|