latex2html: update to version 2008
This commit is contained in:
parent
617394eaf8
commit
7e24ae77fe
@ -1,23 +1,25 @@
|
|||||||
{ stdenv, fetchurl, tex, perl, netpbm, ghostscript }:
|
{ stdenv, fetchurl, tex, perl, netpbm, ghostscript }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "latex2html-2002-1";
|
name = "latex2html-2008";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.latex2html.org/~latex2ht/current/${name}.tar.gz";
|
||||||
|
sha256 = "1b9pld6wz01p1pf5qwxjipdkhq34hmmw9mfkjp150hlqlcanhiar";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ tex perl ghostscript netpbm ];
|
buildInputs = [ tex perl ghostscript netpbm ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
patchShebangs .
|
||||||
|
sed -i -e "s|#! /bin/cat|#! $(type -p cat)|" configure
|
||||||
configureFlags="--with-texpath=$out/share/texmf-nix";
|
configureFlags="--with-texpath=$out/share/texmf-nix";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = mirror://ubuntu/pool/multiverse/l/latex2html/latex2html_2002-2-1-20050114.orig.tar.gz;
|
|
||||||
sha256 = "22049a77cf88a647776e61e06800ace4f9a06afc6ffe2590574487f023d0881f";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.latex2html.org/";
|
homepage = "http://www.latex2html.org/";
|
||||||
description = "Convertor written in Perl that converts LaTeX documents to HTML";
|
description = "Convertor written in Perl that converts LaTeX documents to HTML";
|
||||||
};
|
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user