3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/bibtool/default.nix

28 lines
717 B
Nix
Raw Normal View History

2015-01-05 07:36:49 +00:00
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "bibtool";
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";
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;
checkTarget = "test";
2015-01-05 07:36:49 +00: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 13:36:43 +01:00
license = licenses.gpl2;
2016-05-22 15:05:46 +01:00
platforms = platforms.all;
2015-01-05 07:36:49 +00:00
maintainers = [ maintainers.rycee ];
};
}