nixpkgs/pkgs/development/libraries/haskell/highlighting-kate/default.nix

19 lines
654 B
Nix

{ cabal, blazeHtml, filepath, mtl, parsec, regexPcre }:
cabal.mkDerivation (self: {
pname = "highlighting-kate";
version = "0.5.6.1";
sha256 = "0hwzybihx5znd2z00kqcffqmng7vwynmav0x0zf2b9g415c2lx23";
isLibrary = true;
isExecutable = true;
buildDepends = [ blazeHtml filepath mtl parsec regexPcre ];
jailbreak = true;
prePatch = "sed -i -e 's|regex-pcre-builtin|regex-pcre|' highlighting-kate.cabal";
meta = {
homepage = "http://github.com/jgm/highlighting-kate";
description = "Syntax highlighting";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})