Merge pull request #2767 from jwiegley/hscolour

Build Haddocks with source hyperlinks unless doHscolour is false
This commit is contained in:
Peter Simons
2014-06-03 10:50:04 +02:00
4 changed files with 16 additions and 5 deletions

View File

@@ -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 ];
};
})