From: Fries via Guix-patches via <guix-patches@gnu.org>
To: 65083@debbugs.gnu.org
Cc: Fries <fries1234@protonmail.com>
Subject: [bug#65083] [PATCH 13/13] gnu: Add scc
Date: Sat, 05 Aug 2023 07:01:06 +0000 [thread overview]
Message-ID: <31eb7dc018e2c47bd0c880291284e32cc2177ced.1691218710.git.fries1234@protonmail.com> (raw)
In-Reply-To: <cover.1691218710.git.fries1234@protonmail.com>
* 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
next prev parent reply other threads:[~2023-08-05 8:53 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 7:00 [bug#65074] [PATCH 00/13] Add scc Fries via Guix-patches via
2023-08-05 7:00 ` [bug#65075] [PATCH 01/13] gnu: Add go-github-com-chyzer-logex Fries via Guix-patches via
2023-08-05 9:08 ` ( via Guix-patches via
2024-04-06 15:55 ` Sharlatan Hellseher
2023-08-05 7:00 ` [bug#65072] [PATCH 02/13] gnu: Add go-github-com-chyzer-test Fries via Guix-patches via
2023-08-05 9:14 ` ( via Guix-patches via
2023-09-01 12:08 ` [bug#65085] [PATCH 12/13] gnu: Add go-github-com-json-iterator-go Maxim Cournoyer
2024-04-06 15:52 ` [bug#65072] [PATCH 02/13] gnu: Add go-github-com-chyzer-test Sharlatan Hellseher
2024-04-06 15:53 ` Sharlatan Hellseher
2023-08-05 7:00 ` [bug#65076] [PATCH 03/13] gnu: Add go-github-com-chyzer-readline Fries via Guix-patches via
2023-08-05 9:15 ` ( via Guix-patches via
2024-04-06 15:56 ` Sharlatan Hellseher
2023-08-05 7:00 ` [bug#65073] [PATCH 04/13] gnu: Add go-github-com-ianlancetaylor-demangle Fries via Guix-patches via
2023-08-05 9:16 ` ( via Guix-patches via
2024-04-06 15:53 ` Sharlatan Hellseher
2023-08-05 7:00 ` [bug#65078] [PATCH 05/13] gnu: Add go-github-com-google-pprof Fries via Guix-patches via
2023-08-05 9:18 ` ( via Guix-patches via
2023-08-05 7:00 ` [bug#65077] [PATCH 06/13] gnu: Add go-github-com-felixge-fgprof Fries via Guix-patches via
2023-08-05 9:18 ` ( via Guix-patches via
2023-08-05 7:00 ` [bug#65079] [PATCH 07/13] gnu: Add go-github-com-pkg-profile Fries via Guix-patches via
2023-08-05 9:19 ` ( via Guix-patches via
2023-08-05 7:00 ` [bug#65082] [PATCH 08/13] gnu: Add go-github-com-karrick-godirwalk Fries via Guix-patches via
2023-08-05 9:21 ` ( via Guix-patches via
2023-08-05 7:00 ` [bug#65080] [PATCH 09/13] gnu: Add go-github-com-dbaggerman-cuba Fries via Guix-patches via
2023-08-05 9:22 ` ( via Guix-patches via
2023-08-05 7:00 ` [bug#65081] [PATCH 10/13] gnu: Add go-github-com-modern-go-concurrent Fries via Guix-patches via
2023-08-05 9:24 ` ( via Guix-patches via
2023-08-05 7:00 ` [bug#65084] [PATCH 11/13] gnu: Add go-github-com-modern-go-reflect2 Fries via Guix-patches via
2023-08-05 9:24 ` ( via Guix-patches via
2023-08-05 7:01 ` [bug#65085] [PATCH 12/13] gnu: Add go-github-com-json-iterator-go Fries via Guix-patches via
2023-08-05 9:25 ` ( via Guix-patches via
2023-08-05 7:01 ` Fries via Guix-patches via [this message]
2023-08-05 9:26 ` [bug#65083] [PATCH 13/13] gnu: Add scc ( via Guix-patches via
[not found] ` <5f2cbbcab7bffce62f537af2912233c1b30c58a89092d9c56bdbb27a90879851@mu.id>
2023-08-05 10:01 ` ( via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 00/13] " Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 01/13] gnu: Add go-github-com-chyzer-logex Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 02/13] gnu: Add go-github-com-chyzer-test Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 03/13] gnu: Add go-github-com-chyzer-readline Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 04/13] gnu: Add go-github-com-ianlancetaylor-demangle Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 05/13] gnu: Add go-github-com-google-pprof Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 06/13] gnu: Add go-github-com-felixge-fgprof Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 07/13] gnu: Add go-github-com-pkg-profile Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 08/13] gnu: Add go-github-com-karrick-godirwalk Fries via Guix-patches via
2023-08-05 11:01 ` [bug#65074] [PATCH v2 09/13] gnu: Add go-github-com-dbaggerman-cuba Fries via Guix-patches via
2023-08-05 11:02 ` [bug#65074] [PATCH v2 10/13] gnu: Add go-github-com-modern-go-concurrent Fries via Guix-patches via
2023-08-05 11:02 ` [bug#65074] [PATCH v2 11/13] gnu: Add go-github-com-modern-go-reflect2 Fries via Guix-patches via
2023-08-05 11:02 ` [bug#65074] [PATCH v2 12/13] gnu: Add go-github-com-json-iterator-go Fries via Guix-patches via
2023-08-05 11:02 ` [bug#65074] [PATCH v2 13/13] gnu: Add scc Fries via Guix-patches via
2023-08-05 11:53 ` ( via Guix-patches via
2024-04-06 15:50 ` bug#65074: [PATCH 00/13] " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31eb7dc018e2c47bd0c880291284e32cc2177ced.1691218710.git.fries1234@protonmail.com \
--to=guix-patches@gnu.org \
--cc=65083@debbugs.gnu.org \
--cc=fries1234@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).