Merge pull request #2767 from jwiegley/hscolour
Build Haddocks with source hyperlinks unless doHscolour is false
This commit is contained in:
17
pkgs/development/tools/haskell/hscolour/default.nix
Normal file
17
pkgs/development/tools/haskell/hscolour/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user