aboutsummaryrefslogtreecommitdiff
path: root/.config/nixpkgs/packages/pdf2htmlex/package.nix
diff options
context:
space:
mode:
Diffstat (limited to '.config/nixpkgs/packages/pdf2htmlex/package.nix')
-rw-r--r--.config/nixpkgs/packages/pdf2htmlex/package.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nixpkgs/packages/pdf2htmlex/package.nix b/.config/nixpkgs/packages/pdf2htmlex/package.nix
new file mode 100644
index 0000000..82021ef
--- /dev/null
+++ b/.config/nixpkgs/packages/pdf2htmlex/package.nix
@@ -0,0 +1,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. ";
+ };
+}