3
0
Fork 0
forked from mirrors/nixpkgs

latex2html: update to version 2008

This commit is contained in:
Peter Simons 2013-03-22 12:50:13 +01:00
parent 617394eaf8
commit 7e24ae77fe

View file

@ -1,23 +1,25 @@
{stdenv, fetchurl, tex, perl, netpbm, ghostscript}:
{ stdenv, fetchurl, tex, perl, netpbm, ghostscript }:
stdenv.mkDerivation rec {
name = "latex2html-2008";
src = fetchurl {
url = "http://www.latex2html.org/~latex2ht/current/${name}.tar.gz";
sha256 = "1b9pld6wz01p1pf5qwxjipdkhq34hmmw9mfkjp150hlqlcanhiar";
};
stdenv.mkDerivation {
name = "latex2html-2002-1";
buildInputs = [ tex perl ghostscript netpbm ];
preConfigure = ''
configureFlags="--with-texpath=$out/share/texmf-nix";
patchShebangs .
sed -i -e "s|#! /bin/cat|#! $(type -p cat)|" configure
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 = {
homepage = "http://www.latex2html.org/";
description = "Convertor written in Perl that converts LaTeX documents to HTML";
};
license = stdenv.lib.licenses.gpl2Plus;
};
}