nixpkgs/pkgs/tools/misc/bibtool/default.nix
2020-05-14 22:54:06 +02:00

28 lines
717 B
Nix

{ 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 stdenv.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 ];
};
}