diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/texi2html/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/misc/texi2html/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/texi2html/default.nix b/nixpkgs/pkgs/development/tools/misc/texi2html/default.nix new file mode 100644 index 000000000000..247733b81baf --- /dev/null +++ b/nixpkgs/pkgs/development/tools/misc/texi2html/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, perl, gettext }: + +stdenv.mkDerivation rec { + pname = "texi2html"; + version = "5.0"; + + src = fetchurl { + url = "mirror://savannah/texi2html/${pname}-${version}.tar.bz2"; + sha256 = "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8"; + }; + + nativeBuildInputs = [ gettext ]; + buildInputs = [ perl ]; + + preBuild = '' + substituteInPlace separated_to_hash.pl \ + --replace "/usr/bin/perl" "${perl}/bin/perl" + ''; + + meta = with stdenv.lib; { + description = "Perl script which converts Texinfo source files to HTML output"; + homepage = https://www.nongnu.org/texi2html/; + license = licenses.gpl2; + maintainers = [ maintainers.marcweber ]; + platforms = platforms.unix; + }; +} |