From c80603587b4cbac79b5ce5f7f0fade23133054bd Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 15 Dec 2024 13:16:10 +0000 Subject: [PATCH] gnu: go-github-com-jessevdk-go-flags: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-jessevdk-go-flags): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I22d75782b89c531545528d3ab86a7a8702c55e33 --- gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++ gnu/packages/golang.scm | 28 ---------------------------- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7fb4924940..a08ac1233e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5494,6 +5494,35 @@ and stop units of work, which may receive @code{Close} signals from many clients "NLP-related string utility functions for Golang.") (license license:expat))) +(define-public go-github-com-jessevdk-go-flags + (package + (name "go-github-com-jessevdk-go-flags") + (version "1.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jessevdk/go-flags") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dxk8n06sh15rm7777v5jgwxz9ca1c090ni6lyjhj1d2lxfysb45")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/jessevdk/go-flags" + #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion"))) + (propagated-inputs + (list go-golang-org-x-sys)) + (home-page "https://github.com/jessevdk/go-flags") + (synopsis "Go library for parsing command line arguments") + (description + "The @code{flags} package provides a command line option parser. The +functionality is similar to the go builtin @code{flag} package, but +@code{flags} provides more options and uses reflection to provide a succinct +way of specifying command line options.") + (license license:bsd-3))) + (define-public go-github-com-jinzhu-copier (package (name "go-github-com-jinzhu-copier") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c665bfb7c0..828deefca6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2570,34 +2570,6 @@ Under Windows, the console APIs are used. Otherwise, ANSI texts are output.") specified by @uref{https://tools.ietf.org/html/rfc2141, IETF RFC 2141}.") (license license:expat))) -(define-public go-github-com-jessevdk-go-flags - (package - (name "go-github-com-jessevdk-go-flags") - (version "1.6.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jessevdk/go-flags") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1dxk8n06sh15rm7777v5jgwxz9ca1c090ni6lyjhj1d2lxfysb45")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/jessevdk/go-flags" - #:test-flags #~(list "-skip" "TestCompletion|TestParserCompletion"))) - (propagated-inputs - (list go-golang-org-x-sys)) - (synopsis "Go library for parsing command line arguments") - (description - "The @code{flags} package provides a command line option parser. The -functionality is similar to the go builtin @code{flag} package, but -@code{flags} provides more options and uses reflection to provide a succinct -way of specifying command line options.") - (home-page "https://github.com/jessevdk/go-flags") - (license license:bsd-3))) - (define-public go-github-com-go-playground-universal-translator (package (name "go-github-com-go-playground-universal-translator")