guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5fe929661849a56b25120fae757f62b1abcf5c0a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Sep 11 14:34:03 2025 +0100

    gnu: go-chroma: Move to golang-apps.
    
    * gnu/packages/golang-xyz.scm (go-chroma): Move from here ...
    * gnu/packages/golang-apps.scm: ... to here.
    
    Change-Id: Ie86b2c62c4afd1d7fb41c1f73abb1339fc62c47f
---
 gnu/packages/golang-apps.scm | 36 ++++++++++++++++++++++++++++++++++++
 gnu/packages/golang-xyz.scm  | 35 -----------------------------------
 2 files changed, 36 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/golang-apps.scm b/gnu/packages/golang-apps.scm
index 38f055ce7b..2fbafa72d3 100644
--- a/gnu/packages/golang-apps.scm
+++ b/gnu/packages/golang-apps.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2025 Maxim Cournoyer <[email protected]>
 ;;; Copyright © 2025 Tomas Volf <[email protected]>
+;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -42,6 +43,41 @@
 ;;;
 ;;; Code:
 
+(define-public go-chroma
+  (package
+    (name "go-chroma")
+    (version "2.20.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/alecthomas/chroma";)
+              (commit (string-append "v" version ))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "05w4hnfcxqdlsz7mkc0m3jbp1aj67wzyhq5jh8ldfgnyjnlafia3"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:install-source? #f
+      #:embed-files #~(list ".*\\.xml")
+      #:import-path "github.com/alecthomas/chroma/cmd/chroma"
+      #:unpack-path "github.com/alecthomas/chroma"))
+    (native-inputs
+     (list go-github-com-alecthomas-chroma-v2
+           go-github-com-alecthomas-kong
+           go-github-com-mattn-go-colorable
+           go-github-com-mattn-go-isatty))
+    (home-page "https://github.com/alecthomas/chroma";)
+    (synopsis "General purpose syntax highlighter")
+    (description
+     "This package implements a syntax highlighter for a long list of
+programming languages.  It takes source code and other structured text and
+converts it into syntax highlighted HTML, ANSI-coloured text, etc.  Chroma is
+based heavily on @url{http://pygments.org/, Pygments}, and includes
+translators for Pygments lexers and styles.")
+    (license license:expat)))
+
 
 (define-public godef
   (package
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index d1526efd46..f0aca51711 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -23840,41 +23840,6 @@ library.")
       #:import-path "github.com/klauspost/asmfmt/cmd/asmfmt"
       #:unpack-path "github.com/klauspost/asmfmt"))))
 
-(define-public go-chroma
-  (package
-    (name "go-chroma")
-    (version "2.20.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-              (url "https://github.com/alecthomas/chroma";)
-              (commit (string-append "v" version ))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "05w4hnfcxqdlsz7mkc0m3jbp1aj67wzyhq5jh8ldfgnyjnlafia3"))))
-    (build-system go-build-system)
-    (arguments
-     (list
-      #:install-source? #f
-      #:embed-files #~(list ".*\\.xml")
-      #:import-path "github.com/alecthomas/chroma/cmd/chroma"
-      #:unpack-path "github.com/alecthomas/chroma"))
-    (native-inputs
-     (list go-github-com-alecthomas-chroma-v2
-           go-github-com-alecthomas-kong
-           go-github-com-mattn-go-colorable
-           go-github-com-mattn-go-isatty))
-    (home-page "https://github.com/alecthomas/chroma";)
-    (synopsis "General purpose syntax highlighter")
-    (description
-     "This package implements syntax highlighter for a long list of
-programming languages.  It takes source code and other structured text and
-converts it into syntax highlighted HTML, ANSI-coloured text, etc.  Chroma is
-based heavily on @url{http://pygments.org/, Pygments}, and includes
-translators for Pygments lexers and styles.")
-    (license license:expat)))
-
 (define-public go-csv2table
   (package/inherit go-github-com-olekukonko-tablewriter
     (name "go-csv2table")

Reply via email to