2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bibtool";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "2.68";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz";
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "1ymq901ckaysq2n1bplk1064rb2njq9n30pii15w157y0lxcwd3i";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Perl for running test suite.
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
installTargets = [ "install" "install.man" ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2020-05-15 21:57:56 +00:00
|
|
|
checkTarget = "test";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "bibtool";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|