nixpkgs/pkgs/development/libraries/haskell/pandoc/default.nix
Peter Simons ad24694013 haskell-pandoc: enable highlighting and threading
svn path=/nixpkgs/trunk/; revision=28825
2011-08-26 10:28:59 +00:00

28 lines
938 B
Nix

{ cabal, base64Bytestring, citeprocHs, dlist, extensibleExceptions
, highlightingKate, HTTP, json, mtl, network, pandocTypes, parsec
, random, syb, tagsoup, texmath, utf8String, xhtml, xml, zipArchive
}:
cabal.mkDerivation (self: {
pname = "pandoc";
version = "1.8.2.1";
sha256 = "0cwly0j2rj46h654iwl04l6jkhk6rrhynqvrdnq47067n9vm60pi";
isLibrary = true;
isExecutable = true;
buildDepends = [
base64Bytestring citeprocHs dlist extensibleExceptions
highlightingKate HTTP json mtl network pandocTypes parsec random
syb tagsoup texmath utf8String xhtml xml zipArchive
];
configureFlags = "-fhighlighting -fthreaded";
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
];
};
})