You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.3 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages global)
  19. #:use-module (guix packages)
  20. #:use-module (guix download)
  21. #:use-module (guix build-system gnu)
  22. #:use-module (guix licenses)
  23. #:use-module (gnu packages ncurses)
  24. #:use-module (gnu packages autotools)
  25. #:use-module (gnu packages))
  26. (define-public global ; a global variable
  27. (package
  28. (name "global")
  29. (version "6.2.8")
  30. (source (origin
  31. (method url-fetch)
  32. (uri (string-append "mirror://gnu/global/global-"
  33. version ".tar.gz"))
  34. (sha256
  35. (base32
  36. "1l6g51kff5010gwmw08jbks1mssgddz7wggjvfsky3g000jkpvf1"))))
  37. (build-system gnu-build-system)
  38. (inputs `(("ncurses" ,ncurses)
  39. ("libtool" ,libtool)))
  40. (arguments
  41. `(#:configure-flags
  42. (list (string-append "--with-ncurses="
  43. (assoc-ref %build-inputs "ncurses")))))
  44. (home-page "http://www.gnu.org/software/global/")
  45. (synopsis "GNU GLOBAL source code tag system")
  46. (description
  47. "GNU GLOBAL is a source code tagging system that works the same way
  48. across diverse environments (Emacs, vi, less, Bash, web browser, etc).
  49. You can locate specified objects in source files and move there easily.
  50. It is useful for hacking a large project containing many
  51. subdirectories, many #ifdef and many main() functions. It is similar
  52. to ctags or etags but is different from them at the point of
  53. independence of any editor. It runs on a UNIX (POSIX) compatible
  54. operating system like GNU and BSD.")
  55. (license gpl3+)))