From c73f70d3d50db50c6dcd6a5fd55b448bc7e36fd7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 6 Apr 2024 09:02:44 +0100 Subject: [PATCH] gnu: go-github-com-mattn-go-isatty: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-mattn-go-isatty): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/music.scm: Add (gnu packages golang-xyz) module. Change-Id: Ibbab55ed60afdd5513f91dde93550b2eff7a622c --- gnu/packages/golang-xyz.scm | 30 ++++++++++++++++++++++++++++-- gnu/packages/golang.scm | 26 -------------------------- gnu/packages/music.scm | 1 + 3 files changed, 29 insertions(+), 28 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 261c2c0ded..5aa2bfa169 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1,9 +1,9 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2017, 2018, 2019 Leo Famulari +;;; Copyright © 2017-2020 Leo Famulari ;;; Copyright © 2018 Christopher Baines +;;; Copyright © 2018 Pierre Neidhardt ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2019 Brian Leung -;;; Copyright © 2019 Leo Famulari ;;; Copyright © 2019 Vagrant Cascadian ;;; Copyright © 2019-2022 Efraim Flashner ;;; Copyright © 2020 Joseph LaFreniere @@ -1787,6 +1787,32 @@ implementing features like: (description "This package provides an idiomatic Go retry module.") (license license:expat))) +(define-public go-github-com-mattn-go-isatty + (package + (name "go-github-com-mattn-go-isatty") + (version "0.0.20") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mattn/go-isatty") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0g63n9wpb991qnq9mn2kvd8jk1glrp6gnd851kvwz2wmzdkggiga")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/mattn/go-isatty")) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/mattn/go-isatty") + (synopsis "Provide @code{isatty} for Golang") + (description + "This package provides @code{isatty}, a Go module that can tell you +whether a file descriptor points to a terminal and the type of the terminal.") + (license license:expat))) + (define-public go-github-com-mattn-go-runewidth (package (name "go-github-com-mattn-go-runewidth") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a8f830e1d9..ed79a8b692 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4351,32 +4351,6 @@ The yaml package supports most of YAML 1.2, but preserves some behavior from (description "This package provides a Golang Matrix client.") (license license:asl2.0))) -(define-public go-github-com-mattn-go-isatty - (package - (name "go-github-com-mattn-go-isatty") - (version "0.0.20") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/mattn/go-isatty") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0g63n9wpb991qnq9mn2kvd8jk1glrp6gnd851kvwz2wmzdkggiga")))) - (build-system go-build-system) - (propagated-inputs - (list go-golang-org-x-sys)) - (arguments - '(#:import-path "github.com/mattn/go-isatty")) - (home-page "https://github.com/mattn/go-isatty") - (synopsis "Provide @code{isatty} for Golang") - (description "This package provides @code{isatty}, a Go module that can -tell you whether a file descriptor points to a terminal and the type of the -terminal.") - (license license:expat))) - (define-public go-github-com-mattn-go-colorable (package (name "go-github-com-mattn-go-colorable") diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 34b37ca510..0a14a11b50 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -135,6 +135,7 @@ #:use-module (gnu packages gnunet) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages gpodder) #:use-module (gnu packages graphics) #:use-module (gnu packages graphviz)