mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 20:23:02 +00:00
28 lines
644 B
Nix
28 lines
644 B
Nix
|
{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;
|
||
|
};
|
||
|
}
|