Merge pull request #16771 from mimadrid/init/universal-ctags-2016-07-06

universal-ctags: init at 2016-07-06
This commit is contained in:
Arseniy Seroka 2016-07-12 17:56:30 +04:00 committed by GitHub
commit 356e9c04da
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, perl }:
stdenv.mkDerivation rec {
name = "universal-ctags-${version}";
version = "2016-07-06";
src = fetchFromGitHub {
owner = "universal-ctags";
repo = "ctags";
rev = "44a325a9db23063b231f6f041af9aaf19320d9b9";
sha256 = "11vq901h121ckqgw52k9x7way3q38b7jd08vr1n2sjz7kxh0zdd0";
};
buildInputs = [ autoreconfHook pkgconfig ];
autoreconfPhase = ''
./autogen.sh --tmpdir
'';
postConfigure = ''
sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c
'';
meta = with stdenv.lib; {
description = "A maintained ctags implementation";
homepage = "https://ctags.io/";
license = licenses.gpl2Plus;
platforms = platforms.unix;
# universal-ctags is preferred over emacs's ctags
priority = 1;
maintainers = [ maintainers.mimadrid ];
};
}

View file

@ -6657,6 +6657,8 @@ in
uncrustify = callPackage ../development/tools/misc/uncrustify { };
universal-ctags = callPackage ../development/tools/misc/universal-ctags { };
vagrant = callPackage ../development/tools/vagrant {
ruby = ruby_2_2;
};