mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
19 lines
628 B
Nix
19 lines
628 B
Nix
|
{ cabal, alex, Cabal, deepseq, filepath, ghcPaths, happy, xhtml }:
|
||
|
|
||
|
cabal.mkDerivation (self: {
|
||
|
pname = "haddock";
|
||
|
version = "2.13.1";
|
||
|
sha256 = "0zsflbc3ayjsn542sa58zl62dd78ykr489f18sh467hrrnaj4pkf";
|
||
|
isLibrary = true;
|
||
|
isExecutable = true;
|
||
|
buildDepends = [ Cabal deepseq filepath ghcPaths xhtml ];
|
||
|
buildTools = [ alex happy ];
|
||
|
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 ];
|
||
|
};
|
||
|
})
|