fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ fetchurl, stdenv, libtool, makeWrapper
2, coreutils, ctags, ncurses, pythonPackages, sqlite, pkgconfig
3}:
4
5stdenv.mkDerivation rec {
6 name = "global-6.5";
7
8 src = fetchurl {
9 url = "mirror://gnu/global/${name}.tar.gz";
10 sha256 = "1af6lhwhrpdnigd3707fnk3dd6y53pbc4g0i75xjf0563bdi5zaa";
11 };
12
13 nativeBuildInputs = [ libtool makeWrapper ];
14
15 buildInputs = [ ncurses ];
16
17 propagatedBuildInputs = [ pythonPackages.pygments ];
18
19 configureFlags = [
20 "--with-ltdl-include=${libtool}/include"
21 "--with-ltdl-lib=${libtool}/lib"
22 "--with-ncurses=${ncurses}"
23 "--with-sqlite3=${sqlite}"
24 "--with-exuberant-ctags=${ctags}/bin/ctags"
25 "--with-posix-sort=${coreutils}/bin/sort"
26 ];
27
28 doCheck = true;
29
30 postInstall = ''
31 mkdir -p "$out/share/emacs/site-lisp"
32 cp -v *.el "$out/share/emacs/site-lisp"
33
34 wrapProgram $out/bin/gtags \
35 --prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
36 wrapProgram $out/bin/global \
37 --prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
38 '';
39
40 meta = with stdenv.lib; {
41 description = "Source code tag system";
42 longDescription = ''
43 GNU GLOBAL is a source code tagging system that works the same way
44 across diverse environments (Emacs, vi, less, Bash, web browser, etc).
45 You can locate specified objects in source files and move there easily.
46 It is useful for hacking a large project containing many
47 subdirectories, many #ifdef and many main() functions. It is similar
48 to ctags or etags but is different from them at the point of
49 independence of any editor. It runs on a UNIX (POSIX) compatible
50 operating system like GNU and BSD.
51 '';
52 homepage = http://www.gnu.org/software/global/;
53 license = licenses.gpl3Plus;
54 maintainers = with maintainers; [ pSub ];
55 platforms = platforms.unix;
56 };
57}