about summary refs log tree commit diff
path: root/pkgs/tools/misc/latex2html/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/latex2html/default.nix')
-rw-r--r--pkgs/tools/misc/latex2html/default.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/pkgs/tools/misc/latex2html/default.nix b/pkgs/tools/misc/latex2html/default.nix
deleted file mode 100644
index 9f0aed7fb424..000000000000
--- a/pkgs/tools/misc/latex2html/default.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, makeWrapper
-, ghostscript, netpbm, perl }:
-# TODO: withTex
-
-stdenv.mkDerivation rec {
-  pname = "latex2html";
-  version = "2024";
-
-  src = fetchFromGitHub {
-    owner = pname;
-    repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-MF+S6x+k+lkutJQ60HCxFpdR96K3AFZcP/4guK9RvsA=";
-  };
-
-  buildInputs = [ ghostscript netpbm perl ];
-
-  nativeBuildInputs = [ makeWrapper ];
-
-  configurePhase = ''
-    ./configure \
-      --prefix="$out" \
-      --without-mktexlsr \
-      --with-texpath=$out/share/texmf/tex/latex/html
-  '';
-
-  postInstall = ''
-    for p in $out/bin/{latex2html,pstoimg}; do \
-      wrapProgram $p --add-flags '--tmp="''${TMPDIR:-/tmp}"'
-    done
-  '';
-
-  meta = with lib; {
-    description = "LaTeX-to-HTML translator";
-    longDescription = ''
-      A Perl program that translates LaTeX into HTML (HyperText Markup
-      Language), optionally creating separate HTML files corresponding to each
-      unit (e.g., section) of the document. LaTeX2HTML proceeds by interpreting
-      LaTeX (to the best of its abilities). It contains definitions from a wide
-      variety of classes and packages, and users may add further definitions by
-      writing Perl scripts that provide information about class/package
-      commands.
-    '';
-
-    homepage = "https://www.ctan.org/pkg/latex2html";
-
-    license = licenses.gpl2Only;
-    platforms = with platforms; linux ++ darwin;
-    maintainers = with maintainers; [ yurrriq ];
-  };
-}