Subject: [bug#55903] [PATCH 10/41] gnu: Add go-github-com-lucasb-eyer-go-colorful.

From: "(unmatched-parenthesis" <[email-masked]>
Date: Sat, 11 Jun 2022 20:16:22 +0100

* gnu/packages/golang.scm (go-github-com-lucasb-eyer-go-colorful): New
  variable.
---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e0f5039803..a8e27ab22b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10053,3 +10053,29 @@ (define-public go-github-com-go-ini-ini
     (description
      "Package ini provides INI file read and write functionality in Go.")
     (license license:asl2.0)))
+
+(define-public go-github-com-lucasb-eyer-go-colorful
+  (package
+    (name "go-github-com-lucasb-eyer-go-colorful")
+    (version "1.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/lucasb-eyer/go-colorful")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs"))))
+    (build-system go-build-system)
+    (inputs (list go-golang-org-x-image))
+    (arguments
+     (list #:import-path "github.com/lucasb-eyer/go-colorful"))
+    (home-page "https://github.com/lucasb-eyer/go-colorful")
+    (synopsis "Library for playing with colors in Go")
+    (description
+     "@code{go-github-com-lucasb-eyer-go-colorful} is a library for playing
+with colors in Go.  @code{go-github-com-lucasb-eyer-go-colorful} stores
+colors in RGB and provides methods for converting these to various color
+spaces.")
+    (license license:expat)))
-- 
2.36.1