GNU bug report logs - #65083
[PATCH 13/13] gnu: Add scc

Previous Next

Package: guix-patches;

Reported by: Fries <fries1234 <at> protonmail.com>

Date: Sat, 5 Aug 2023 08:53:14 UTC

Severity: normal

Tags: moreinfo, patch

Merged with 65072, 65073, 65074, 65075, 65076, 65077, 65078, 65079, 65080, 65081, 65082, 65084, 65085

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65083 in the body.
You can then email your comments to 65083 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#65083; Package guix-patches. (Sat, 05 Aug 2023 08:53:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fries <fries1234 <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 05 Aug 2023 08:53:14 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fries <fries1234 <at> protonmail.com>
To: guix-patches <at> gnu.org
Cc: Fries <fries1234 <at> protonmail.com>
Subject: [PATCH 13/13] gnu: Add scc
Date: Sat, 05 Aug 2023 07:01:06 +0000
* gnu/packages/code.scm (scc): New variable.
---
 gnu/packages/code.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 9cdda2b751..6a74d1a9ca 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -44,6 +44,7 @@ (define-module (gnu packages code)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
+  #:use-module (guix build-system go)
   #:use-module (gnu packages)
   #:use-module (gnu packages autogen)
   #:use-module (gnu packages autotools)
@@ -373,6 +374,41 @@ (define-public cloc
 cloc can handle a greater variety of programming languages.")
     (license license:gpl2+)))
 
+(define-public scc
+  (package
+    (name "scc")
+    (version "3.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/boyter/scc")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1rkkfg6jimlc2rkajk6ypd5v0m3zai25ga5idz2pmkmzakv82n21"))))
+    (build-system go-build-system)
+    (native-inputs (list go-github-com-dbaggerman-cuba
+                         go-github-com-json-iterator-go
+                         go-github-com-mattn-go-runewidth
+                         go-github-com-minio-blake2b-simd
+                         go-github-com-spf13-cobra
+                         go-golang-org-x-text
+                         go-gopkg-in-yaml-v2))
+    (arguments
+     `(#:import-path "github.com/boyter/scc"))
+    (home-page "https://github.com/boyter/scc")
+    (synopsis "Very fast accurate code counter written in pure Go")
+    (description
+     "A tool similar to cloc, sloccount and tokei.
+For counting the lines of code, blank lines, comment lines, and
+physical lines of source code in many programming languages.
+
+Goal is to be the fastest code counter possible, but also
+perform COCOMO calculation like sloccount and to estimate
+code complexity similar to cyclomatic complexity calculators.")
+    (license license:expat)))
+
 (define-public the-silver-searcher
   (package
     (name "the-silver-searcher")
-- 
2.41.0






Information forwarded to guix-patches <at> gnu.org:
bug#65083; Package guix-patches. (Sat, 05 Aug 2023 10:02:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: Fries <fries1234 <at> protonmail.com>
Cc: 65083 <at> debbugs.gnu.org, guix-patches <at> gnu.org
Subject: Re: [bug#65083] [PATCH 13/13] gnu: Add scc
Date: Sat, 05 Aug 2023 10:26:05 +0100
Fries via Guix-patches via <guix-patches <at> gnu.org> writes:
> +    (native-inputs (list go-github-com-dbaggerman-cuba
> +                         go-github-com-json-iterator-go
> +                         go-github-com-mattn-go-runewidth
> +                         go-github-com-minio-blake2b-simd
> +                         go-github-com-spf13-cobra
> +                         go-golang-org-x-text
> +                         go-gopkg-in-yaml-v2))

s/native-inputs/inputs/, except for the packages used in tests, if any.

> +    (arguments
> +     `(#:import-path "github.com/boyter/scc"))

LIST.

> +    (home-page "https://github.com/boyter/scc")
> +    (synopsis "Very fast accurate code counter written in pure Go")

Maybe:

  (synopsis "Fast code counter written in Go")

> +    (description
> +     "A tool similar to cloc, sloccount and tokei.
> +For counting the lines of code, blank lines, comment lines, and
> +physical lines of source code in many programming languages.
> +
> +Goal is to be the fastest code counter possible, but also
> +perform COCOMO calculation like sloccount and to estimate
> +code complexity similar to cyclomatic complexity calculators.")

  (description
   "@command{scc} provides a lines-of-code counter similar to tools like
@command{cloc} and @command{sloccount}.  It aims to be as fast as
possible while supporting @acronym{COCOMO,Constructive Cost Model}
calculation and estimation of code complexity.")




Information forwarded to guix-patches <at> gnu.org:
bug#65083; Package guix-patches. (Sat, 05 Aug 2023 10:02:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#65083; Package guix-patches. (Sat, 05 Aug 2023 10:03:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "(" <paren <at> disroot.org>
Cc: 65083 <at> debbugs.gnu.org, Fries <fries1234 <at> protonmail.com>,
 guix-patches <at> gnu.org
Subject: Re: [bug#65083] [PATCH 13/13] gnu: Add scc
Date: Sat, 05 Aug 2023 11:01:29 +0100
"(" <paren <at> disroot.org> writes:
>   (description
>    "@command{scc} provides a lines-of-code counter similar to tools like
> @command{cloc} and @command{sloccount}.  It aims to be as fast as
> possible while 

Agh. Should be:

  (description
   "@command{scc} provides a lines-of-code counter similar to tools like
  @command{cloc} and @command{sloccount}.  It aims to be as fast as
  possible while supporting @acronym{COCOMO,Constructive Cost Model}
  calculation and code complexity estimation.")

  -- (




Information forwarded to guix-patches <at> gnu.org:
bug#65083; Package guix-patches. (Sat, 05 Aug 2023 10:03:03 GMT) Full text and rfc822 format available.

Merged 65072 65073 65074 65075 65076 65077 65078 65079 65080 65081 65082 65083 65084 65085. Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sat, 05 Aug 2023 10:27:03 GMT) Full text and rfc822 format available.

Disconnected #65072 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:05 GMT) Full text and rfc822 format available.

Disconnected #65073 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:06 GMT) Full text and rfc822 format available.

Disconnected #65075 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:06 GMT) Full text and rfc822 format available.

Disconnected #65076 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:07 GMT) Full text and rfc822 format available.

Disconnected #65077 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:08 GMT) Full text and rfc822 format available.

Disconnected #65078 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:08 GMT) Full text and rfc822 format available.

Disconnected #65079 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:09 GMT) Full text and rfc822 format available.

Disconnected #65080 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:09 GMT) Full text and rfc822 format available.

Disconnected #65081 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:10 GMT) Full text and rfc822 format available.

Disconnected #65082 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:10 GMT) Full text and rfc822 format available.

Disconnected #65083 from all other report(s). Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:10 GMT) Full text and rfc822 format available.

Merged 65072 65073 65074 65075 65076 65077 65078 65079 65080 65081 65082 65083 65084 65085. Request was from Fries <fries1234 <at> protonmail.com> to control <at> debbugs.gnu.org. (Sun, 06 Aug 2023 06:33:17 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 01 Sep 2023 12:09:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 May 2024 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.