From ed907c7a29b1bdc143d148cccf7e5d1967fcb50b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 23 Aug 2024 16:30:54 +0100 Subject: [PATCH] gnu: go-github-com-muesli-termenv: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-muesli-termenv): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: Iba509c25f56581aeb34508ad0db98fe85a24d135 --- gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 31 ------------------------------- 2 files changed, 34 insertions(+), 31 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e42adbf56a..7fcbb27485 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2020, 2021 raingloom ;;; Copyright © 2021 Collin J. Doering ;;; Copyright © 2021 Guillaume Le Vaillant +;;; Copyright © 2021 Guix Together ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 Ricardo Wurmus ;;; Copyright © 2021 Sarah Morgensen @@ -4481,6 +4482,39 @@ (define-public go-github-com-muesli-cancelreader "This package provides a cancelable reader for Go.") (license license:expat))) +(define-public go-github-com-muesli-termenv + (package + (name "go-github-com-muesli-termenv") + (version "0.15.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/termenv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19yhli6k79aqpra4djp0cl4q76mqxbc1f7in20y0dzhnjb7yz42p")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/muesli/termenv")) + (propagated-inputs + (list go-github-com-aymanbagabas-go-osc52-v2 + go-github-com-lucasb-eyer-go-colorful + go-github-com-mattn-go-isatty + go-github-com-mattn-go-runewidth + go-golang-org-x-sys)) + (home-page "https://github.com/muesli/termenv/") + (synopsis "Advanced styling options on the terminal") + (description + "termenv lets you safely use advanced styling options on the terminal. +It gathers information about the terminal environment in terms of its ANSI and +color support and offers you convenient methods to colorize and style your +output, without you having to deal with all kinds of weird ANSI escape +sequences and color conversions.") + (license license:expat))) + (define-public go-github-com-multiformats-go-base32 (package (name "go-github-com-multiformats-go-base32") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 55cff297cf..8476bb43fb 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -6089,37 +6089,6 @@ (define-public go-github-com-muesli-reflow helping you to transform blocks of text.") (license license:expat))) -(define-public go-github-com-muesli-termenv - (package - (name "go-github-com-muesli-termenv") - (version "0.15.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/muesli/termenv") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "19yhli6k79aqpra4djp0cl4q76mqxbc1f7in20y0dzhnjb7yz42p")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/muesli/termenv")) - (propagated-inputs - (list go-github-com-aymanbagabas-go-osc52-v2 - go-github-com-lucasb-eyer-go-colorful - go-github-com-mattn-go-isatty - go-github-com-mattn-go-runewidth - go-golang-org-x-sys)) - (home-page "https://github.com/muesli/termenv/") - (synopsis "Advanced styling options on the terminal") - (description "termenv lets you safely use advanced styling options on the -terminal. It gathers information about the terminal environment in terms of -its ANSI and color support and offers you convenient methods to colorize and -style your output, without you having to deal with all kinds of weird ANSI -escape sequences and color conversions.") - (license license:expat))) - (define-public go-github-com-olekukonko-tablewriter (package (name "go-github-com-olekukonko-tablewriter")