<commit_before>{ 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;
  };
}<commit_msg>pdf2htmlEX: mark as broken<commit_after>{ 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
  };
}
{'fraction_non_alphanumeric': 0.11266201395812563, 'fraction_numerical': 0.0353938185443669, 'mean_word_length': 2.7725563909774436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1206406', 'n_tokens_mistral': 837, 'n_tokens_neox': 785, 'n_words': 142}