nixpkgs/pkgs/development/libraries/haskell/pandoc/default.nix
2013-03-10 00:32:03 +01:00

39 lines
1.4 KiB
Nix

{ cabal, ansiTerminal, base64Bytestring, blazeHtml, blazeMarkup
, citeprocHs, dataDefault, Diff, extensibleExceptions, filepath
, highlightingKate, HTTP, HUnit, json, mtl, network, pandocTypes
, parsec, QuickCheck, random, syb, tagsoup, temporary
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
, texmath, text, time, xml, zipArchive, zlib
}:
cabal.mkDerivation (self: {
pname = "pandoc";
version = "1.11";
sha256 = "1v32z6fmfkllwf5y64sjbk3ckss2kfcs71b64a7fjdhp82m4i4yh";
isLibrary = true;
isExecutable = true;
buildDepends = [
base64Bytestring blazeHtml blazeMarkup citeprocHs dataDefault
extensibleExceptions filepath highlightingKate HTTP json mtl
network pandocTypes parsec random syb tagsoup temporary texmath
text time xml zipArchive zlib
];
testDepends = [
ansiTerminal Diff filepath highlightingKate HUnit pandocTypes
QuickCheck syb testFramework testFrameworkHunit
testFrameworkQuickcheck2 text
];
configureFlags = "-fblaze_html_0_5";
patchPhase = "sed -i -e 's|QuickCheck >= 2.4 && < 2.6,|QuickCheck,|' pandoc.cabal";
doCheck = false;
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
];
};
})