nixpkgs-suyu/pkgs/tools/misc/bibtool/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) ()
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
685 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "bibtool";
version = "2.67";
src = fetchurl {
url = "http://www.gerd-neugebauer.de/software/TeX/BibTool/BibTool-${version}.tar.gz";
sha256 = "116pv532mz0q954y5b7c6zipnamc05f0x7g5x1b674jsjxh42v2v";
};
# Perl for running test suite.
buildInputs = [ perl ];
installTargets = "install install.man";
doCheck = true;
meta = with stdenv.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 ];
};
}