Build Haddocks with source hyperlinks unless doHscolour is false

This commit is contained in:
John Wiegley
2014-05-29 20:00:04 -05:00
parent d58370db24
commit 176797576c
4 changed files with 16 additions and 5 deletions
@@ -0,0 +1,17 @@
{ cabal, hyperlinkSource ? true }:
cabal.mkDerivation (self: {
pname = "hscolour";
version = "1.20.3";
sha256 = "15ix93sw4p7g5ln2halcgqppdc0i0vmkzcjzxvqzkk9yp9pq3nrs";
isLibrary = true;
isExecutable = true;
hyperlinkSource = hyperlinkSource;
meta = {
homepage = "http://code.haskell.org/~malcolm/hscolour/";
description = "Colourise Haskell code";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})