5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
28 lines
748 B
Nix
28 lines
748 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.gpl2Plus;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.rycee ];
|
|
mainProgram = "bibtool";
|
|
};
|
|
}
|