sharlatan pushed a commit to branch go-team
in repository guix.

commit bbf10606fbcf928b5323a2811f68f592af6f2280
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Feb 20 15:53:40 2025 +0000

    gnu: go-github-com-fogleman-gg: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-fogleman-gg): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: If91963847f78a03c4d2f97236dba89e700fdb824
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 24 ------------------------
 2 files changed, 29 insertions(+), 24 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 32125ca313..a7bfe2cfc9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3882,6 +3882,35 @@ information about the music/image/video that is Now 
Playing on the system.")
 font files in your system's user and system font directories.")
     (license license:expat)))
 
+;; XXX: This project isn't maintained upstream, consider to find alternative
+;; fork, see <https://github.com/fogleman/gg/issues/185> and remove the
+;; package when it has no users.
+(define-public go-github-com-fogleman-gg
+  (package
+    (name "go-github-com-fogleman-gg")
+    (version "1.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fogleman/gg";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f      ; Issue with test flags.
+      #:import-path "github.com/fogleman/gg"))
+    (propagated-inputs
+     (list go-github-com-golang-freetype))
+    (home-page "https://github.com/fogleman/gg";)
+    (synopsis "2D rendering in Go")
+    (description
+     "@code{gg} is a library for rendering 2D graphics in pure Go.")
+    (license license:expat)))
+
 (define-public go-github-com-gammazero-chanqueue
   (package
     (name "go-github-com-gammazero-chanqueue")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 539f9ecec2..32d07bcb12 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1862,30 +1862,6 @@ be performed.")
 characters with their ASCII approximations.")
       (license license:asl2.0))))
 
-(define-public go-github-com-fogleman-gg
-  (package
-    (name "go-github-com-fogleman-gg")
-    (version "1.3.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://github.com/fogleman/gg";)
-                     (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:tests? #f      ; Issue with test flags.
-       #:import-path "github.com/fogleman/gg"))
-    (propagated-inputs
-     (list go-github-com-golang-freetype))
-    (home-page "https://github.com/fogleman/gg";)
-    (synopsis "2D rendering in Go")
-    (description "@code{gg} is a library for rendering 2D graphics in pure 
Go.")
-    (license license:expat)))
-
 (define-public go-github-com-akosmarton-papipes
   (let ((commit "3c63b4919c769c9c2b2d07e69a98abb0eb47fe64")
         (revision "0"))

Reply via email to