2014-05-03 12:06:45 +02:00
|
|
|
{ cabal, Cabal, deepseq, filepath, ghcPaths, hspec, QuickCheck
|
|
|
|
, xhtml
|
2014-03-30 22:06:23 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "haddock";
|
2014-04-11 10:17:44 +02:00
|
|
|
version = "2.14.2";
|
|
|
|
sha256 = "0h96jj6y093h4gcqpiq0nyv7h5wjg8ji7z1im9ydivmsv0627prk";
|
2014-03-30 22:06:23 +02:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [ Cabal deepseq filepath ghcPaths xhtml ];
|
|
|
|
testDepends = [ Cabal deepseq filepath hspec QuickCheck ];
|
|
|
|
doCheck = false;
|
|
|
|
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;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|