guix-commits
[Top][All Lists]
Advanced

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

05/45: gnu: Remove go-github-com-imdario-mergo.


From: guix-commits
Subject: 05/45: gnu: Remove go-github-com-imdario-mergo.
Date: Wed, 8 Jan 2025 18:56:39 -0500 (EST)

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

commit 292c2d19a13bb63fb5c58c463cbd77d2a198a29d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jan 8 14:31:48 2025 +0000

    gnu: Remove go-github-com-imdario-mergo.
    
    * gnu/packages/golang.scm (go-github-com-imdario-mergo): Delete variable.
    (go-dario-cat-mergo): Override go-github-com-imdario-mergo's package
    definition instead of inherit it.
    [source] <url>: Fix permament redirection
    <https://github.com/imdario/mergo> -> <https://github.com/darccio/mergo>.
    [native-inputs]: Remove go-gopkg-in-yaml-v2; add go-gopkg-in-yaml-v3.
    [home-page]: Fix permament redirection
    <https://github.com/imdario/mergo> -> <https://github.com/darccio/mergo>.
    
    Change-Id: I612c7d028a92e877fd20900dffaba267405d99e6
---
 gnu/packages/golang.scm | 37 ++++++++-----------------------------
 1 file changed, 8 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 570d8dcbf5..b7e0f7d459 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3202,25 +3202,25 @@ Porter2 stemmer}.  It is written completely using 
finite state machines to do
 suffix comparison, rather than the string-based or tree-based approaches.")
       (license license:asl2.0))))
 
-(define-public go-github-com-imdario-mergo
+(define-public go-dario-cat-mergo
   (package
-    (name "go-github-com-imdario-mergo")
-    (version "0.3.10")
+    (name "go-dario-cat-mergo")
+    (version "1.0.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/imdario/mergo";)
+                    (url "https://github.com/darccio/mergo";)
                     (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "09h765p8yby9r8s0a3hv5kl8n2i382mda76wmvk48w1cc1w9s92p"))))
+                "037k2bd97vnbyhn2sczxk0j6ijmv06n1282f76i3ky73s3qmqnlf"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "github.com/imdario/mergo"))
+     `(#:import-path "dario.cat/mergo"))
     (native-inputs
-     (list go-gopkg-in-yaml-v2))
-    (home-page "https://github.com/imdario/mergo/";)
+     (list go-gopkg-in-yaml-v3))
+    (home-page "https://github.com/darccio/mergo";)
     (synopsis "Helper to merge structs and maps in Golang")
     (description "Helper to merge structs and maps in Golang.  Useful for
 configuration default values, avoiding messy if-statements.
@@ -3231,27 +3231,6 @@ recursively any exported one.  It also won't merge 
structs inside
 maps (because they are not addressable using Go reflection).")
     (license license:bsd-3)))
 
-(define-public go-dario-cat-mergo
-  (package
-    (inherit go-github-com-imdario-mergo)
-    (name "go-dario-cat-mergo")
-    (version "1.0.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/imdario/mergo";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "037k2bd97vnbyhn2sczxk0j6ijmv06n1282f76i3ky73s3qmqnlf"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:unpack-path "dario.cat/mergo"
-       #:import-path "dario.cat/mergo"))
-    (native-inputs
-     (list go-gopkg-in-yaml-v3))))
-
 (define-public go-github-com-olekukonko-ts
   (let ((commit "78ecb04241c0121483589a30b0814836a746187d")
         (revision "0"))



reply via email to

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