nixpkgs/pkgs/tools/misc/bibtool/default.nix

28 lines
717 B
Nix
Raw Normal View History

2015-01-05 08:36:49 +01:00
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "bibtool";
version = "2.68";
2015-01-05 08:36:49 +01:00
src = fetchurl {
url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz";
sha256 = "1ymq901ckaysq2n1bplk1064rb2njq9n30pii15w157y0lxcwd3i";
2015-01-05 08:36:49 +01:00
};
# Perl for running test suite.
buildInputs = [ perl ];
2019-11-04 12:23:53 +01:00
installTargets = [ "install" "install.man" ];
2015-01-05 08:36:49 +01:00
doCheck = true;
checkTarget = "test";
2015-01-05 08:36:49 +01:00
meta = with stdenv.lib; {
description = "Tool for manipulating BibTeX bibliographies";
homepage = "http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html";
2017-05-20 14:36:43 +02:00
license = licenses.gpl2;
2016-05-22 16:05:46 +02:00
platforms = platforms.all;
2015-01-05 08:36:49 +01:00
maintainers = [ maintainers.rycee ];
};
}