2019-08-26 22:16:43 +02:00
|
|
|
{ stdenv, fetchurl, perl, gettext }:
|
2009-10-28 15:06:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-26 22:16:43 +02:00
|
|
|
pname = "texi2html";
|
|
|
|
version = "5.0";
|
2009-09-10 18:57:42 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-26 22:16:43 +02:00
|
|
|
url = "mirror://savannah/texi2html/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8";
|
2009-09-10 18:57:42 +02:00
|
|
|
};
|
|
|
|
|
2019-08-26 22:16:43 +02:00
|
|
|
nativeBuildInputs = [ gettext ];
|
|
|
|
buildInputs = [ perl ];
|
2009-09-10 18:57:42 +02:00
|
|
|
|
2019-08-26 22:16:43 +02:00
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace separated_to_hash.pl \
|
|
|
|
--replace "/usr/bin/perl" "${perl}/bin/perl"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2009-09-10 18:57:42 +02:00
|
|
|
description = "Perl script which converts Texinfo source files to HTML output";
|
2018-12-01 18:32:32 +01:00
|
|
|
homepage = https://www.nongnu.org/texi2html/;
|
2019-08-26 22:16:43 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.marcweber ];
|
|
|
|
platforms = platforms.unix;
|
2009-09-10 18:57:42 +02:00
|
|
|
};
|
|
|
|
}
|