nixpkgs/pkgs/development/libraries/haskell/pandoc/default.nix

34 lines
1.1 KiB
Nix
Raw Normal View History

{ cabal, base64Bytestring, blazeHtml, blazeMarkup, citeprocHs
2013-01-20 15:42:50 +00:00
, dataDefault, extensibleExceptions, filepath, highlightingKate
, HTTP, json, mtl, network, pandocTypes, parsec, random, syb
, tagsoup, temporary, texmath, text, time, xml, zipArchive, zlib
}:
cabal.mkDerivation (self: {
pname = "pandoc";
version = "1.10.1";
sha256 = "127pxs1w99nr6hdancaajm20w3vgmch4xlj0v7221y7i9qcr1y1y";
isLibrary = true;
isExecutable = true;
buildDepends = [
2013-01-20 15:42:50 +00:00
base64Bytestring blazeHtml blazeMarkup citeprocHs dataDefault
extensibleExceptions filepath highlightingKate HTTP json mtl
network pandocTypes parsec random syb tagsoup temporary texmath
2013-01-20 15:42:50 +00:00
text time xml zipArchive zlib
];
configureFlags = "-fblaze_html_0_5";
patchPhase = ''
sed -r -i -e 's|blaze-html >= 0.5 && < 0.6,|blaze-html >= 0.5,|' pandoc.cabal
'';
meta = {
homepage = "http://johnmacfarlane.net/pandoc";
description = "Conversion between markup formats";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})