diff options
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 6db3d683ce0..884283383d0 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | ;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org> | 15 | ;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org> |
| 16 | ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> | 16 | ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> |
| 17 | ;;; Copyright © 2021 lu hui <luhuins@163.com> | 17 | ;;; Copyright © 2021 lu hui <luhuins@163.com> |
| 18 | ;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com> | ||
| 18 | ;;; | 19 | ;;; |
| 19 | ;;; This file is part of GNU Guix. | 20 | ;;; This file is part of GNU Guix. |
| 20 | ;;; | 21 | ;;; |
| @@ -940,3 +941,32 @@ extensions over the standard utility.") | |||
| 940 | (description "amalgamate.py aims to make it easy to use SQLite-style C | 941 | (description "amalgamate.py aims to make it easy to use SQLite-style C |
| 941 | source and header amalgamation in projects.") | 942 | source and header amalgamation in projects.") |
| 942 | (license license:bsd-3)))) | 943 | (license license:bsd-3)))) |
| 944 | |||
| 945 | (define-public cscope | ||
| 946 | (package | ||
| 947 | (name "cscope") | ||
| 948 | (version "15.9") | ||
| 949 | (source | ||
| 950 | (origin | ||
| 951 | (method url-fetch) | ||
| 952 | (uri (string-append "mirror://sourceforge/cscope/cscope/" | ||
| 953 | "v" version "/cscope-" version ".tar.gz")) | ||
| 954 | (sha256 | ||
| 955 | (base32 "0ngiv4aj3rr35k3q3wjx0y19gh7i1ydqa0cqip6sjwd8fph5ll65")))) | ||
| 956 | (build-system gnu-build-system) | ||
| 957 | (inputs `(("ncurses" ,ncurses))) | ||
| 958 | (arguments | ||
| 959 | `(#:configure-flags | ||
| 960 | ;; Specify the correct ncurses directory to prevent incorrect fallback | ||
| 961 | ;; on SysV curses. | ||
| 962 | (list (string-append "--with-ncurses=" | ||
| 963 | (assoc-ref %build-inputs "ncurses"))))) | ||
| 964 | (home-page "http://cscope.sourceforge.net") | ||
| 965 | (synopsis "Tool for browsing source code") | ||
| 966 | (description | ||
| 967 | "Cscope is a text screen based source browsing tool. Although it is | ||
| 968 | primarily designed to search C code (including lex and yacc files), it can | ||
| 969 | also be used for C++ code. | ||
| 970 | |||
| 971 | Using cscope, you can easily search for where symbols are used and defined.") | ||
| 972 | (license license:bsd-3))) | ||
