summaryrefslogtreecommitdiff
path: root/gnu/packages/code.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-10-14 00:01:12 +0200
committerMarius Bakke <marius@gnu.org>2021-10-14 00:01:12 +0200
commit0f77e50139b023cb1a5a82ac3a0b9b7fa990c45b (patch)
tree8796bb011e021bf01fe5cb15c70641ee0c0ed5f0 /gnu/packages/code.scm
parent641b31de5e9716ff8bd088f4834c98d4a664b55a (diff)
parent1961b28445080c7b9fb8bf5291ac9a814303522a (diff)
Merge branch 'master' into core-updates-frozen
Diffstat (limited to 'gnu/packages/code.scm')
-rw-r--r--gnu/packages/code.scm30
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
941source and header amalgamation in projects.") 942source 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
968primarily designed to search C code (including lex and yacc files), it can
969also be used for C++ code.
970
971Using cscope, you can easily search for where symbols are used and defined.")
972 (license license:bsd-3)))