2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2015-01-05 07:36:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "bibtool";
|
2020-05-14 09:03:49 +00:00
|
|
|
version = "2.68";
|
2015-01-05 07:36:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz";
|
2020-05-14 09:03:49 +00:00
|
|
|
sha256 = "1ymq901ckaysq2n1bplk1064rb2njq9n30pii15w157y0lxcwd3i";
|
2015-01-05 07:36:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Perl for running test suite.
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
2019-11-04 11:23:53 +00:00
|
|
|
installTargets = [ "install" "install.man" ];
|
2015-01-05 07:36:49 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2020-05-14 09:03:49 +00:00
|
|
|
checkTarget = "test";
|
2015-01-05 07:36:49 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-01-05 07:36:49 +00:00
|
|
|
description = "Tool for manipulating BibTeX bibliographies";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html";
|
2024-04-26 11:35:31 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2016-05-22 14:05:46 +00:00
|
|
|
platforms = platforms.all;
|
2015-01-05 07:36:49 +00:00
|
|
|
maintainers = [ maintainers.rycee ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "bibtool";
|
2015-01-05 07:36:49 +00:00
|
|
|
};
|
|
|
|
}
|