summary refs log tree commit diff
path: root/pkgs/development/libraries/pdf2htmlex/default.nix
blob: 597385aa9fa3eed40ed55a44859dbfcdedba36cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{stdenv, fetchurl, cmake, poppler, fontforge, unzip, pkgconfig, python}:

stdenv.mkDerivation rec {
  version = "0.8.1";
  name = "pdf2htmlex-${version}";
  
  src = fetchurl {
      url = "https://github.com/coolwanglu/pdf2htmlEX/archive/v${version}.zip";
      sha256 = "0v8x03vq46ng9s27ryn76lcsjgpxgak6062jnx59lnyz856wvp8a";
  };

  buildInputs = [
    cmake
    unzip
    poppler
    fontforge
    pkgconfig
    python
  ];

  meta = with stdenv.lib; {
    description = "Convert PDF to HTML without losing text or format. ";
    license = licenses.gpl3;
    maintainers = [ maintainers.iElectric ];
    platforms = platforms.linux;
  };
}