2012-09-17 14:51:00 +01:00
|
|
|
{ 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
|
2011-08-10 00:00:20 +01:00
|
|
|
}:
|
2009-06-30 09:04:12 +01:00
|
|
|
|
2011-08-10 00:00:20 +01:00
|
|
|
cabal.mkDerivation (self: {
|
2009-06-30 09:04:12 +01:00
|
|
|
pname = "pandoc";
|
2013-01-30 10:29:41 +00:00
|
|
|
version = "1.10.1";
|
|
|
|
sha256 = "127pxs1w99nr6hdancaajm20w3vgmch4xlj0v7221y7i9qcr1y1y";
|
2011-08-10 00:00:20 +01:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-01-20 15:42:50 +00:00
|
|
|
base64Bytestring blazeHtml blazeMarkup citeprocHs dataDefault
|
2012-09-17 14:51:00 +01:00
|
|
|
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
|
2011-08-07 19:22:28 +01:00
|
|
|
];
|
2012-09-17 14:51:00 +01:00
|
|
|
configureFlags = "-fblaze_html_0_5";
|
2013-02-18 10:11:15 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -r -i -e 's|blaze-html >= 0.5 && < 0.6,|blaze-html >= 0.5,|' pandoc.cabal
|
|
|
|
'';
|
2009-06-30 09:04:12 +01:00
|
|
|
meta = {
|
2011-08-07 19:22:28 +01:00
|
|
|
homepage = "http://johnmacfarlane.net/pandoc";
|
2009-06-30 09:04:12 +01:00
|
|
|
description = "Conversion between markup formats";
|
2011-08-07 19:22:28 +01:00
|
|
|
license = "GPL";
|
2011-08-09 10:54:50 +01:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-12-06 10:32:56 +00:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2009-06-30 09:04:12 +01:00
|
|
|
};
|
2010-09-07 13:58:07 +01:00
|
|
|
})
|