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