nixpkgs/pkgs/development/tools/documentation/haddock/2.4.2.nix

21 lines
652 B
Nix
Raw Normal View History

{cabal, ghcPaths, libedit}:
cabal.mkDerivation (self: {
pname = "haddock";
version = "2.4.2"; # Haskell Platform 2009.0.0
name = self.fname;
sha256 = "dbf0a7d0103a3ce6a91b2a3b96148c1b9c13ea7f8bd74260c21fe98df7839547";
# TODO: adding libedit here is a hack
propagatedBuildInputs = [ghcPaths libedit];
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
self.stdenv.lib.maintainers.simons
];
};
})