mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 17:23:08 +00:00
29 lines
744 B
Nix
29 lines
744 B
Nix
{ lib, stdenv, fetchurl, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bibtool";
|
|
version = "2.68";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz";
|
|
sha256 = "1ymq901ckaysq2n1bplk1064rb2njq9n30pii15w157y0lxcwd3i";
|
|
};
|
|
|
|
# Perl for running test suite.
|
|
buildInputs = [ perl ];
|
|
|
|
installTargets = [ "install" "install.man" ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
meta = with 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 ];
|
|
mainProgram = "bibtool";
|
|
};
|
|
}
|