nixpkgs/pkgs/development/tools/misc/ctags/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

2015-05-11 09:27:53 +00:00
{ stdenv, fetchsvn, autoreconfHook }:
stdenv.mkDerivation rec {
2013-03-06 11:38:49 +00:00
name = "ctags-${revision}";
2015-05-11 09:27:53 +00:00
revision = "816";
2013-03-06 11:38:49 +00:00
src = fetchsvn {
2015-05-11 09:27:53 +00:00
url = "https://ctags.svn.sourceforge.net/svnroot/ctags/trunk";
2013-03-06 11:38:49 +00:00
rev = revision;
2015-05-11 09:27:53 +00:00
sha256 = "0jmbkrmscbl64j71qffcc39x005jrmphx8kirs1g2ws44wil39hf";
2013-03-06 11:38:49 +00:00
};
2015-05-11 09:27:53 +00:00
nativeBuildInputs = [ autoreconfHook ];
2013-03-06 11:38:49 +00:00
# don't use $T(E)MP which is set to the build directory
2015-05-11 09:27:53 +00:00
configureFlags= [ "--enable-tmpdir=/tmp" ];
2015-05-11 09:27:53 +00:00
meta = with stdenv.lib; {
description = "A tool for fast source code browsing (exuberant ctags)";
longDescription = ''
Ctags generates an index (or tag) file of language objects found
in source files that allows these items to be quickly and easily
located by a text editor or other utility. A tag signifies a
language object for which an index entry is available (or,
alternatively, the index entry created for that object). Many
programming languages are supported.
'';
2015-05-11 09:27:53 +00:00
homepage = http://ctags.sourceforge.net/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ simons ];
platforms = platforms.unix;
# So that Exuberant ctags is preferred over emacs's ctags
priority = 1;
};
}