Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 27 lines 728 B view raw
1{ stdenv, fetchurl, perl, gettext }: 2 3stdenv.mkDerivation rec { 4 pname = "texi2html"; 5 version = "5.0"; 6 7 src = fetchurl { 8 url = "mirror://savannah/texi2html/${pname}-${version}.tar.bz2"; 9 sha256 = "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8"; 10 }; 11 12 nativeBuildInputs = [ gettext ]; 13 buildInputs = [ perl ]; 14 15 preBuild = '' 16 substituteInPlace separated_to_hash.pl \ 17 --replace "/usr/bin/perl" "${perl}/bin/perl" 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "Perl script which converts Texinfo source files to HTML output"; 22 homepage = "https://www.nongnu.org/texi2html/"; 23 license = licenses.gpl2; 24 maintainers = [ maintainers.marcweber ]; 25 platforms = platforms.unix; 26 }; 27}