Merge pull request #16771 from mimadrid/init/universal-ctags-2016-07-06
universal-ctags: init at 2016-07-06
This commit is contained in:
commit
356e9c04da
2 changed files with 35 additions and 0 deletions
33
pkgs/development/tools/misc/universal-ctags/default.nix
Normal file
33
pkgs/development/tools/misc/universal-ctags/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue