summaryrefslogtreecommitdiff
path: root/gnu/packages/code.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-13 17:18:24 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-13 17:48:25 +0100
commit8394619baceb118df92e355377fd543bb1aa501a (patch)
tree504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/code.scm
parentaca2defe0172868295941fd9f0e97886f6e9b2d4 (diff)
gnu: Simplify package inputs.
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
Diffstat (limited to 'gnu/packages/code.scm')
-rw-r--r--gnu/packages/code.scm75
1 files changed, 28 insertions, 47 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 37203836647..d3ff6ae7c81 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -116,8 +116,7 @@ a major mode for Emacs for examining the flowcharts that it produces.")
116 "0lr0l9kj2w3jilz9h9y4np9pf9i9ccpy6331lanki2fnz4z8ldvd")))) 116 "0lr0l9kj2w3jilz9h9y4np9pf9i9ccpy6331lanki2fnz4z8ldvd"))))
117 (build-system gnu-build-system) 117 (build-system gnu-build-system)
118 (native-inputs 118 (native-inputs
119 `(("texinfo" ,texinfo) 119 (list texinfo autogen))
120 ("autogen" ,autogen)))
121 (home-page "https://www.gnu.org/software/complexity/") 120 (home-page "https://www.gnu.org/software/complexity/")
122 (synopsis "Analyze complexity of C functions") 121 (synopsis "Analyze complexity of C functions")
123 (description 122 (description
@@ -256,7 +255,7 @@ around in a large, deeply nested project.")
256 255
257 #:make-flags (list (string-append "PREFIX=" 256 #:make-flags (list (string-append "PREFIX="
258 (assoc-ref %outputs "out"))))) 257 (assoc-ref %outputs "out")))))
259 (inputs `(("perl" ,perl))) 258 (inputs (list perl))
260 (home-page "https://dwheeler.com/sloccount/") 259 (home-page "https://dwheeler.com/sloccount/")
261 (synopsis "Count physical source lines of code (SLOC)") 260 (synopsis "Count physical source lines of code (SLOC)")
262 (description 261 (description
@@ -282,12 +281,12 @@ COCOMO model or user-provided parameters.")
282 (base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc")))) 281 (base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc"))))
283 (build-system gnu-build-system) 282 (build-system gnu-build-system)
284 (inputs 283 (inputs
285 `(("coreutils" ,coreutils) 284 (list coreutils
286 ("perl" ,perl) 285 perl
287 ("perl-algorithm-diff" ,perl-algorithm-diff) 286 perl-algorithm-diff
288 ("perl-digest-md5" ,perl-digest-md5) 287 perl-digest-md5
289 ("perl-parallel-forkmanager" ,perl-parallel-forkmanager) 288 perl-parallel-forkmanager
290 ("perl-regexp-common" ,perl-regexp-common))) 289 perl-regexp-common))
291 (arguments 290 (arguments
292 `(#:phases (modify-phases %standard-phases 291 `(#:phases (modify-phases %standard-phases
293 (delete 'configure) ; nothing to configure 292 (delete 'configure) ; nothing to configure
@@ -340,11 +339,9 @@ cloc can handle a greater variety of programming languages.")
340 ;; https://gcc.gnu.org/gcc-10/porting_to.html. 339 ;; https://gcc.gnu.org/gcc-10/porting_to.html.
341 `(#:configure-flags (list "CFLAGS=-fcommon"))) 340 `(#:configure-flags (list "CFLAGS=-fcommon")))
342 (native-inputs 341 (native-inputs
343 `(("pkg-config" ,pkg-config))) 342 (list pkg-config))
344 (inputs 343 (inputs
345 `(("pcre" ,pcre) 344 (list pcre xz zlib))
346 ("xz" ,xz)
347 ("zlib" ,zlib)))
348 (home-page "https://geoff.greer.fm/ag/") 345 (home-page "https://geoff.greer.fm/ag/")
349 (synopsis "Fast code searching tool") 346 (synopsis "Fast code searching tool")
350 (description 347 (description
@@ -426,16 +423,9 @@ features that are not supported by the standard @code{stdio} implementation.")
426 (substitute* "Tmain/utils.sh" 423 (substitute* "Tmain/utils.sh"
427 (("/bin/echo") (which "echo")))))))) 424 (("/bin/echo") (which "echo"))))))))
428 (native-inputs 425 (native-inputs
429 `(("autoconf" ,autoconf) 426 (list autoconf automake packcc perl pkg-config))
430 ("automake" ,automake)
431 ("packcc" ,packcc)
432 ("perl" ,perl)
433 ("pkg-config" ,pkg-config)))
434 (inputs 427 (inputs
435 `(("jansson" ,jansson) 428 (list jansson libseccomp libxml2 libyaml))
436 ("libseccomp" ,libseccomp)
437 ("libxml2" ,libxml2)
438 ("libyaml" ,libyaml)))
439 (home-page "https://ctags.io/") 429 (home-page "https://ctags.io/")
440 (synopsis "Generate tag files for source code") 430 (synopsis "Generate tag files for source code")
441 (description 431 (description
@@ -491,9 +481,8 @@ expressions, and its ability to generate emacs-style TAGS files.")
491 #t))))) 481 #t)))))
492 (home-page "https://github.com/cameronwhite/withershins") 482 (home-page "https://github.com/cameronwhite/withershins")
493 (inputs 483 (inputs
494 `(("libiberty" ,libiberty) 484 (list libiberty binutils ;for libbfd
495 ("binutils" ,binutils) ;for libbfd 485 zlib))
496 ("zlib" ,zlib)))
497 (synopsis "C++11 library for generating stack traces") 486 (synopsis "C++11 library for generating stack traces")
498 (description 487 (description
499 "Withershins is a simple cross-platform C++11 library for generating 488 "Withershins is a simple cross-platform C++11 library for generating
@@ -538,9 +527,7 @@ stack traces.")
538 (wrap-program (string-append out "/bin/geninfo") 527 (wrap-program (string-append out "/bin/geninfo")
539 `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))) 528 `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
540 #t))))) 529 #t)))))
541 (inputs `(("perl" ,perl) 530 (inputs (list perl perl-io-compress perl-json))
542 ("perl-io-compress" ,perl-io-compress)
543 ("perl-json" ,perl-json)))
544 (home-page "http://ltp.sourceforge.net/coverage/lcov.php") 531 (home-page "http://ltp.sourceforge.net/coverage/lcov.php")
545 (synopsis "Code coverage tool that enhances GNU gcov") 532 (synopsis "Code coverage tool that enhances GNU gcov")
546 (description "LCOV is an extension of @command{gcov}, a tool part of the 533 (description "LCOV is an extension of @command{gcov}, a tool part of the
@@ -598,13 +585,9 @@ results and determine build stability.")
598 (("/bin/(bash|sh)" shell) 585 (("/bin/(bash|sh)" shell)
599 (string-append (assoc-ref inputs "bash") shell))))))))) 586 (string-append (assoc-ref inputs "bash") shell)))))))))
600 (inputs 587 (inputs
601 `(("curl" ,curl) 588 (list curl elfutils libelf openssl zlib))
602 ("elfutils" ,elfutils)
603 ("libelf" ,libelf)
604 ("openssl" ,openssl)
605 ("zlib" ,zlib)))
606 (native-inputs 589 (native-inputs
607 `(("python" ,python))) 590 (list python))
608 (home-page "https://github.com/SimonKagstrom/kcov") 591 (home-page "https://github.com/SimonKagstrom/kcov")
609 (synopsis "Code coverage tester for compiled languages, Python and Bash") 592 (synopsis "Code coverage tester for compiled languages, Python and Bash")
610 (description "Kcov is a FreeBSD/Linux/OSX code coverage tester for compiled 593 (description "Kcov is a FreeBSD/Linux/OSX code coverage tester for compiled
@@ -649,14 +632,14 @@ possible to collect coverage information without special compiler switches.")
649 "-DBUILD_TESTING=FALSE") 632 "-DBUILD_TESTING=FALSE")
650 #:tests? #f)) 633 #:tests? #f))
651 (native-inputs 634 (native-inputs
652 `(("pkg-config" ,pkg-config))) 635 (list pkg-config))
653 (inputs 636 (inputs
654 `(("bash-completion" ,bash-completion) 637 (list bash-completion
655 ("clang" ,clang) 638 clang
656 ("llvm" ,llvm) 639 llvm
657 ("lua" ,lua) 640 lua
658 ("rct" ,rct) 641 rct
659 ("selene" ,selene))) 642 selene))
660 (home-page "https://github.com/Andersbakken/rtags") 643 (home-page "https://github.com/Andersbakken/rtags")
661 (synopsis "Indexer for the C language family with Emacs integration") 644 (synopsis "Indexer for the C language family with Emacs integration")
662 (description 645 (description
@@ -682,8 +665,7 @@ importantly we give you proper follow-symbol and find-references support.")
682 (base32 "1f9v5s0viq4yc9iv6701h3pv7j21zz1ckl37lpp9hsnliiizv03p")))) 665 (base32 "1f9v5s0viq4yc9iv6701h3pv7j21zz1ckl37lpp9hsnliiizv03p"))))
683 (build-system trivial-build-system) 666 (build-system trivial-build-system)
684 (native-inputs 667 (native-inputs
685 `(("bash" ,bash) 668 (list bash perl))
686 ("perl" ,perl)))
687 (arguments 669 (arguments
688 `(#:modules ((guix build utils)) 670 `(#:modules ((guix build utils))
689 #:builder 671 #:builder
@@ -738,7 +720,7 @@ produce colored output.")
738 (modify-phases %standard-phases 720 (modify-phases %standard-phases
739 (delete 'configure)))) 721 (delete 'configure))))
740 (native-inputs 722 (native-inputs
741 `(("graphviz" ,graphviz))) 723 (list graphviz))
742 (home-page "https://github.com/lindenb/makefile2graph") 724 (home-page "https://github.com/lindenb/makefile2graph")
743 (synopsis "Creates a graph of dependencies from GNU Make") 725 (synopsis "Creates a graph of dependencies from GNU Make")
744 (description 726 (description
@@ -885,8 +867,7 @@ the C, C++, C++/CLI, Objective‑C, C#, and Java programming languages.")
885 '("config.sub" "config.guess"))) 867 '("config.sub" "config.guess")))
886 #t))))) 868 #t)))))
887 (native-inputs 869 (native-inputs
888 `(("texinfo" ,texinfo) 870 (list texinfo automake)) ; For up to date 'config.guess' and 'config.sub'.
889 ("automake" ,automake))) ; For up to date 'config.guess' and 'config.sub'.
890 (synopsis "Code reformatter") 871 (synopsis "Code reformatter")
891 (description 872 (description
892 "Indent is a program that makes source code easier to read by 873 "Indent is a program that makes source code easier to read by
@@ -955,7 +936,7 @@ source and header amalgamation in projects.")
955 (sha256 936 (sha256
956 (base32 "0ngiv4aj3rr35k3q3wjx0y19gh7i1ydqa0cqip6sjwd8fph5ll65")))) 937 (base32 "0ngiv4aj3rr35k3q3wjx0y19gh7i1ydqa0cqip6sjwd8fph5ll65"))))
957 (build-system gnu-build-system) 938 (build-system gnu-build-system)
958 (inputs `(("ncurses" ,ncurses))) 939 (inputs (list ncurses))
959 (arguments 940 (arguments
960 `(#:configure-flags 941 `(#:configure-flags
961 ;; Specify the correct ncurses directory to prevent incorrect fallback 942 ;; Specify the correct ncurses directory to prevent incorrect fallback