guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/32: gnu: go-github-com-spf13-viper: Move to golang-xyz.


From: guix-commits
Subject: 18/32: gnu: go-github-com-spf13-viper: Move to golang-xyz.
Date: Sun, 24 Nov 2024 07:50:52 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 39bfc4cf45b971afe3d34cb52d12b5b9d4bcac03
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 11:49:25 2024 +0000

    gnu: go-github-com-spf13-viper: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-spf13-viper): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I752e96566094db0a30d24b76e2d4ca0d0e937b75
---
 gnu/packages/golang-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 42 ------------------------------------------
 2 files changed, 41 insertions(+), 42 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 08175f9de0..4facf333a7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7019,6 +7019,47 @@ with the
 GNU extensions} to the POSIX recommendations for command-line options.")
     (license license:bsd-3)))
 
+(define-public go-github-com-spf13-viper
+  (package
+    (name "go-github-com-spf13-viper")
+    ;; Refreshing to a newer version requires long chain of missing packages.
+    (version "1.8.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/spf13/viper";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0jcsvd9l05pv10rma6zicp44q2mlvxj0qlhnf4zcg2pymb5i0hq6"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/spf13/viper"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-fsnotify-fsnotify
+           go-github-com-hashicorp-hcl
+           go-github-com-magiconair-properties
+           go-github-com-mitchellh-mapstructure
+           go-github-com-pelletier-go-toml
+           go-github-com-spf13-afero
+           go-github-com-spf13-cast
+           go-github-com-spf13-jwalterweatherman
+           go-github-com-spf13-pflag
+           go-github-com-subosito-gotenv
+           go-gopkg-in-ini-v1
+           go-gopkg-in-yaml-v2))
+    (home-page "https://github.com/spf13/viper";)
+    (synopsis "Go configuration with fangs")
+    (description
+     "Viper is a complete configuration solution for Go applications including
+12-Factor apps.  It is designed to work within an application, and can handle
+all types of configuration needs and formats.")
+    (license license:expat)))
+
 (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 545e823c42..6ece3eabf1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3178,48 +3178,6 @@ information about the resource usage and performance 
characteristics of running
 containers.")
       (license license:asl2.0))))
 
-(define-public go-github-com-spf13-viper
-  (package
-    (name "go-github-com-spf13-viper")
-    ;; Refreshing to a newer version requires long chain of missing packages.
-    (version "1.8.1")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/spf13/viper";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "0jcsvd9l05pv10rma6zicp44q2mlvxj0qlhnf4zcg2pymb5i0hq6"))))
-    (build-system go-build-system)
-    (arguments
-     (list
-      #:import-path "github.com/spf13/viper"))
-    (propagated-inputs
-     (list go-github-com-fsnotify-fsnotify
-           go-github-com-hashicorp-hcl
-           go-github-com-magiconair-properties
-           go-github-com-mitchellh-mapstructure
-           go-github-com-pelletier-go-toml
-           go-github-com-spf13-afero
-           go-github-com-spf13-cast
-           go-github-com-spf13-jwalterweatherman
-           go-github-com-spf13-pflag
-           go-github-com-subosito-gotenv
-           go-gopkg-in-ini-v1
-           go-gopkg-in-yaml-v2))
-    (native-inputs
-     (list go-github-com-stretchr-testify))
-    (home-page "https://github.com/spf13/viper";)
-    (synopsis "Go configuration with fangs")
-    (description
-     "Viper is a complete configuration solution for Go applications including
-12-Factor apps.  It is designed to work within an application, and can handle
-all types of configuration needs and formats.")
-    (license license:expat)))
-
 (define-public go-github-com-nxadm-tail
   (package
     (name "go-github-com-nxadm-tail")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]