depot/third_party/nixpkgs/pkgs/tools/misc/bibtool/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

28 lines
744 B
Nix

{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "bibtool";
version = "2.68";
src = fetchurl {
url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz";
sha256 = "1ymq901ckaysq2n1bplk1064rb2njq9n30pii15w157y0lxcwd3i";
};
# Perl for running test suite.
buildInputs = [ perl ];
installTargets = [ "install" "install.man" ];
doCheck = true;
checkTarget = "test";
meta = with lib; {
description = "Tool for manipulating BibTeX bibliographies";
homepage = "http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.rycee ];
mainProgram = "bibtool";
};
}