nixpkgs/pkgs/tools/typesetting/pdf2htmlEX/default.nix
Maximilian Bosch de6544b50e
pdf2htmlEX: mark as broken
See https://hydra.nixos.org/build/81003667

The build is currently broken on Hydra due to the following error:

```
CairoFontEngine.cc:681:17: error: 'void Object::free()' is private within this context
```

This issue is was also reported in AUR (https://aur.archlinux.org/packages/pdf2htmlex/)
and in the upstream issue tracker (https://github.com/coolwanglu/pdf2htmlEX/issues/753) with
no answer until now.

The current README.md states that the project is no longer under active
development and it seems as there are currently no active maintainers
who could fix this:

* 5d0a2239fc
* https://github.com/coolwanglu/pdf2htmlEX/issues/772
2018-09-08 16:16:26 +02:00

49 lines
989 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig
, poppler, xorg, pcre, python, glib, fontforge, cairo, pango, openjdk8
}:
stdenv.mkDerivation rec {
name = "pdf2htmlEX-0.14.6";
src = fetchFromGitHub {
repo = "pdf2htmlEX";
owner = "coolwanglu";
rev = "v0.14.6";
sha256 = "1nh0ab8f11fsyi4ldknlkmdzcfvm1dfh8b9bmprjgq6q0vjj7f78";
};
patches = [ ./add-glib-cmake.patch ];
cmakeFlags = [ "-DENABLE_SVG=ON" ];
enableParallelBuilding = true;
nativeBuildInputs = [
cmake
pkgconfig
];
buildInputs = [
xorg.libpthreadstubs
xorg.libXdmcp
pcre
python
glib
cairo
pango
poppler
fontforge
openjdk8
];
meta = with stdenv.lib; {
description = "Render PDF files to beautiful HTML";
homepage = "https://github.com/coolwanglu/pdf2htmlEX";
license = licenses.gpl3Plus;
maintainers = [ maintainers.taktoa ];
platforms = with platforms; linux;
broken = true; # 2018-09-08
};
}