From 4dcc9df560e824eca6a26c0943f3c18a84fa23d0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 6 Apr 2024 10:56:27 +0100 Subject: gnu: go-github-com-spf13-cobra: Move to golang-xyz. * gnu/packages/golang.scm (go-github-com-spf13-cobra): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I545b0279c040be0412cbca744e949f31e9d34b1f --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ gnu/packages/golang.scm | 25 ------------------------- 2 files changed, 27 insertions(+), 25 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 06942a3647..466f13631c 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -18,6 +18,7 @@ ;;; Copyright © 2021 Sarah Morgensen ;;; Copyright © 2021 raingloom ;;; Copyright © 2021, 2023, 2024 Sharlatan Hellseher +;;; Copyright © 2022 Dhruvin Gandhi ;;; Copyright © 2022 Dominic Martinez ;;; Copyright © 2023 Benjamin ;;; Copyright © 2023 Fries @@ -2576,6 +2577,32 @@ Use waterutil with it to work with TUN/TAP packets/frames.") "@{gitconfig} is a package to get configuration values from gitconfig.") (license license:expat))) +(define-public go-github-com-spf13-cobra + (package + (name "go-github-com-spf13-cobra") + (version "1.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/spf13/cobra") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mhnqfgcwwcknlhk7n07i02q3iqq6ihksj4dwz296zci8ry3w0d0")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/spf13/cobra")) + (propagated-inputs + (list go-github-com-spf13-pflag)) + (home-page "https://github.com/spf13/cobra") + (synopsis "Go library for creating CLI applications") + (description + "Cobra is both a library for creating powerful modern CLI applications as +well as a program to generate applications and command files.") + (license license:asl2.0))) + (define-public go-github-com-stathat-go (let ((commit "74669b9f388d9d788c97399a0824adbfee78400e") (revision "0")) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1b138d8d0e..39d98afb45 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3674,31 +3674,6 @@ containers.") (description "Safe and easy casting from one type to another in Go") (license license:expat))) -(define-public go-github-com-spf13-cobra - (package - (name "go-github-com-spf13-cobra") - (version "1.8.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/spf13/cobra") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0mhnqfgcwwcknlhk7n07i02q3iqq6ihksj4dwz296zci8ry3w0d0")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/spf13/cobra")) - (propagated-inputs - (list go-github-com-spf13-pflag)) - (home-page "https://github.com/spf13/cobra") - (synopsis "Go library for creating CLI applications") - (description "Cobra is both a library for creating powerful modern CLI -applications as well as a program to generate applications and command files.") - (license license:asl2.0))) - (define-public go-github-com-spf13-jwalterweatherman (package (name "go-github-com-spf13-jwalterweatherman") -- cgit v1.2.3