aboutsummaryrefslogtreecommitdiff
path: root/.config/nixpkgs/packages/pdf2htmlex/package.nix
blob: 82021ef21414118bad1f6e4315032eeb0b29e1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, fetchurl, appimageTools }:

appimageTools.wrapType2 rec {
  name = "pdf2htmlex";
  version = "0.18.8.rc1";

  src = fetchurl {
    url = "https://github.com/pdf2htmlEX/pdf2htmlEX/releases/download/v${version}/pdf2htmlEX-${version}-master-20200630-Ubuntu-focal-x86_64.AppImage";
    sha256 = "sha256-Ed4lg6Orzl8UH9f6+x/qLGexWIblRta3Z1xgABLmq4w=";
  };

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