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

28 lines
715 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, perl }:
2015-01-05 07:36:49 +00:00
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 lib; {
2015-01-05 07:36:49 +00:00
description = "Tool for manipulating BibTeX bibliographies";
homepage = "http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html";
2017-05-20 12:36:43 +00:00
license = licenses.gpl2;
2016-05-22 14:05:46 +00:00
platforms = platforms.all;
2015-01-05 07:36:49 +00:00
maintainers = [ maintainers.rycee ];
};
}