nixpkgs/pkgs/tools/misc/bibtex2html/default.nix
Anthony Cowley d620de4a69 bibtex2html: add perl dependency
The `aux2bib` tool that is part of the bibtex2html package requires
perl. Without this dependency, the `aux2bib` script is installed with
a shebang pointing to `/usr/bin/perl`.
2021-01-07 12:51:16 -05:00

22 lines
603 B
Nix

{ stdenv, fetchurl, ocaml, perl }:
stdenv.mkDerivation {
pname = "bibtex2html";
version = "1.99";
src = fetchurl {
url = "https://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.99.tar.gz";
sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j";
};
buildInputs = [ ocaml perl ];
meta = with stdenv.lib; {
description = "A collection of tools for translating from BibTeX to HTML";
homepage = "https://www.lri.fr/~filliatr/bibtex2html/";
license = licenses.gpl2;
platforms = ocaml.meta.platforms or [];
maintainers = [ maintainers.scolobb ];
};
}