2010-04-15 23:10:06 +02:00
|
|
|
{cabal, mtl, network, parsec, utf8String, xhtml, zipArchive, HTTP, xml,
|
2010-09-13 18:01:33 +02:00
|
|
|
texmath, random ? null}:
|
2009-06-30 10:04:12 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "pandoc";
|
2010-09-07 14:58:07 +02:00
|
|
|
version = "1.6";
|
|
|
|
sha256 = "9b825233293edf1ea414b0e7ea821d6a914711dc2c60546566ab5a97512b079b";
|
2010-04-15 23:10:06 +02:00
|
|
|
propagatedBuildInputs = [
|
2010-09-13 18:01:33 +02:00
|
|
|
mtl network parsec utf8String xhtml zipArchive HTTP xml texmath
|
|
|
|
] ++ (if random != null then [random] else []);
|
2009-06-30 10:04:12 +02:00
|
|
|
meta = {
|
|
|
|
description = "Conversion between markup formats";
|
|
|
|
};
|
2010-09-07 14:58:07 +02:00
|
|
|
})
|