2012-09-17 06:51:00 -07:00
|
|
|
{ cabal, base64Bytestring, blazeHtml, blazeMarkup, citeprocHs
|
2013-01-20 07:42:50 -08:00
|
|
|
, dataDefault, extensibleExceptions, filepath, highlightingKate
|
|
|
|
, HTTP, json, mtl, network, pandocTypes, parsec, random, syb
|
|
|
|
, tagsoup, temporary, texmath, text, time, xml, zipArchive, zlib
|
2011-08-09 16:00:20 -07:00
|
|
|
}:
|
2009-06-30 01:04:12 -07:00
|
|
|
|
2011-08-09 16:00:20 -07:00
|
|
|
cabal.mkDerivation (self: {
|
2009-06-30 01:04:12 -07:00
|
|
|
pname = "pandoc";
|
2013-01-30 02:29:41 -08:00
|
|
|
version = "1.10.1";
|
|
|
|
sha256 = "127pxs1w99nr6hdancaajm20w3vgmch4xlj0v7221y7i9qcr1y1y";
|
2011-08-09 16:00:20 -07:00
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2013-01-20 07:42:50 -08:00
|
|
|
base64Bytestring blazeHtml blazeMarkup citeprocHs dataDefault
|
2012-09-17 06:51:00 -07:00
|
|
|
extensibleExceptions filepath highlightingKate HTTP json mtl
|
|
|
|
network pandocTypes parsec random syb tagsoup temporary texmath
|
2013-01-20 07:42:50 -08:00
|
|
|
text time xml zipArchive zlib
|
2011-08-07 11:22:28 -07:00
|
|
|
];
|
2012-09-17 06:51:00 -07:00
|
|
|
configureFlags = "-fblaze_html_0_5";
|
2013-02-18 02:11:15 -08:00
|
|
|
patchPhase = ''
|
|
|
|
sed -r -i -e 's|blaze-html >= 0.5 && < 0.6,|blaze-html >= 0.5,|' pandoc.cabal
|
|
|
|
'';
|
2013-02-24 15:23:57 -08:00
|
|
|
doCheck = false;
|
2009-06-30 01:04:12 -07:00
|
|
|
meta = {
|
2011-08-07 11:22:28 -07:00
|
|
|
homepage = "http://johnmacfarlane.net/pandoc";
|
2009-06-30 01:04:12 -07:00
|
|
|
description = "Conversion between markup formats";
|
2011-08-07 11:22:28 -07:00
|
|
|
license = "GPL";
|
2011-08-09 02:54:50 -07:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2012-12-06 02:32:56 -08:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2009-06-30 01:04:12 -07:00
|
|
|
};
|
2010-09-07 05:58:07 -07:00
|
|
|
})
|