41 lines
1.4 KiB
Nix
41 lines
1.4 KiB
Nix
{ cabal, aeson, alex, ansiTerminal, attoparsec, base64Bytestring
|
|
, blazeHtml, blazeMarkup, dataDefault, Diff, extensibleExceptions
|
|
, filepath, happy, highlightingKate, hslua, HTTP, httpConduit
|
|
, httpTypes, HUnit, mtl, network, pandocTypes, parsec, QuickCheck
|
|
, random, syb, tagsoup, temporary, testFramework
|
|
, testFrameworkHunit, testFrameworkQuickcheck2, texmath, text, time
|
|
, unorderedContainers, vector, xml, yaml, zipArchive, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "pandoc";
|
|
version = "1.12.0.2";
|
|
sha256 = "125vl6l7nd3s3zwkms46y8l5zhg22iwz5387ll9rd2hf6asfpp56";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
aeson alex attoparsec base64Bytestring blazeHtml blazeMarkup
|
|
dataDefault extensibleExceptions filepath happy highlightingKate
|
|
hslua HTTP httpConduit httpTypes mtl network pandocTypes parsec
|
|
random syb tagsoup temporary texmath text time unorderedContainers
|
|
vector xml yaml zipArchive zlib
|
|
];
|
|
testDepends = [
|
|
ansiTerminal Diff filepath highlightingKate HUnit pandocTypes
|
|
QuickCheck syb testFramework testFrameworkHunit
|
|
testFrameworkQuickcheck2 text
|
|
];
|
|
buildTools = [ alex happy ];
|
|
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
|
|
];
|
|
};
|
|
})
|