1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/pandoc/default.nix
Peter Simons ab79e29846 haskell-pandoc: disable 'doCheck' to avoid test suite build errors
Configuring pandoc-1.10.1...
Setup: At least the following dependencies are missing:
Diff ==0.2.*,
HUnit ==1.2.*,
QuickCheck >=2.4 && <2.6,
ansi-terminal >=0.5 && <0.7,
test-framework >=0.3 && <0.9,
test-framework-hunit >=0.2 && <0.4,
test-framework-quickcheck2 >=0.2.9 && <0.4
2013-02-25 00:23:57 +01:00

35 lines
1.1 KiB
Nix

{ cabal, base64Bytestring, blazeHtml, blazeMarkup, citeprocHs
, dataDefault, extensibleExceptions, filepath, highlightingKate
, HTTP, json, mtl, network, pandocTypes, parsec, random, syb
, tagsoup, temporary, texmath, text, time, xml, zipArchive, zlib
}:
cabal.mkDerivation (self: {
pname = "pandoc";
version = "1.10.1";
sha256 = "127pxs1w99nr6hdancaajm20w3vgmch4xlj0v7221y7i9qcr1y1y";
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
];
configureFlags = "-fblaze_html_0_5";
patchPhase = ''
sed -r -i -e 's|blaze-html >= 0.5 && < 0.6,|blaze-html >= 0.5,|' 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
];
};
})