2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, perl }:
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|