From 43c415daad11d32b78d876d3a41b4abda5e9901b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 9 Jan 2025 20:30:25 +0000 Subject: [PATCH] gnu: go-github-com-lucasb-eyer-go-colorful: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-lucasb-eyer-go-colorful): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/image-viewers.scm: Add golang-xyz. Change-Id: I9bb92dc5e5b549e74f6354870a061d958ff34931 --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ gnu/packages/golang.scm | 25 ------------------------- gnu/packages/image-viewers.scm | 1 + 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 1dd0a90938..5477ca3101 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -9175,6 +9175,33 @@ Printf/Sprintf etc.") (native-inputs (list go-github-com-stretchr-testify)))) +(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) + (arguments + (list + #:import-path "github.com/lucasb-eyer/go-colorful")) + (propagated-inputs + (list go-golang-org-x-image)) + (home-page "https://github.com/lucasb-eyer/go-colorful") + (synopsis "Library for playing with colors in Go") + (description + "The colorful package provides a library for using colors in Go. +It stores colors in RGB and provides methods for converting these to various +color spaces.") + (license license:expat))) + (define-public go-github-com-lyft-protoc-gen-star-v2 (package (name "go-github-com-lyft-protoc-gen-star-v2") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 37fae376fc..27e23d06a8 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2549,31 +2549,6 @@ GIT_TRACE mechanism.") anchor names.") (license license:expat))) -(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) - (propagated-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 - "The colorful package provides a library for using colors in Go. -It stores colors in RGB and provides methods for converting these to -various color spaces.") - (license license:expat))) - (define-public go-github-com-cention-sany-utf7 (package (name "go-github-com-cention-sany-utf7") diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 67742a024c..7c5d8ec543 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -83,6 +83,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages gtk) #:use-module (gnu packages graphics) #:use-module (gnu packages image)