guix-commits
[Top][All Lists]
Advanced

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

27/32: gnu: go-github-com-bmatcuk-doublestar: Move to golang-xyz.


From: guix-commits
Subject: 27/32: gnu: go-github-com-bmatcuk-doublestar: Move to golang-xyz.
Date: Sun, 24 Nov 2024 07:50:54 -0500 (EST)

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

commit fc0267ac147fc05180b8d58bbb832edbf83f0353
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 12:28:33 2024 +0000

    gnu: go-github-com-bmatcuk-doublestar: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar,
    go-github-com-bmatcuk-doublestar-v2,
    go-github-com-bmatcuk-doublestar-v3,
    go-github-com-bmatcuk-doublestar-v4): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I96ad2e60f6e21caf2a110bba38823c28e453ce6c
---
 gnu/packages/golang-xyz.scm | 83 +++++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 82 --------------------------------------------
 2 files changed, 83 insertions(+), 82 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 45c1142eb5..1c304752e8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1254,6 +1254,89 @@ information and periodically output metrics")
               (delete-file-recursively
                (string-append "src/" import-path "/examples")))))))))
 
+(define-public go-github-com-bmatcuk-doublestar
+  (package
+    (name "go-github-com-bmatcuk-doublestar")
+    (version "1.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bmatcuk/doublestar";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      ;; This test fails with Go 1.16.
+      #:test-flags #~(list "-skip" "TestMatch")
+      #:import-path "github.com/bmatcuk/doublestar"))
+    (home-page "https://github.com/bmatcuk/doublestar/";)
+    (synopsis "Path pattern matching and globbing supporting doublestar")
+    (description
+     "@code{doublestar} is a Go implementation of path pattern
+matching and globbing with support for \"doublestar\" patterns.")
+    (license license:expat)))
+
+;; For chezmoi-1.8.11
+(define-public go-github-com-bmatcuk-doublestar-v2
+  (package
+    (inherit go-github-com-bmatcuk-doublestar)
+    (name "go-github-com-bmatcuk-doublestar-v2")
+    (version "2.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bmatcuk/doublestar";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "09ma8a9rhs8dg527vjhdf3lsb6lajaq193m6ksssm2k3qajhpi94"))))
+    (arguments
+     (substitute-keyword-arguments
+         (package-arguments go-github-com-bmatcuk-doublestar)
+       ((#:import-path _) "github.com/bmatcuk/doublestar/v2")))))
+
+(define-public go-github-com-bmatcuk-doublestar-v3
+  (package
+    (inherit go-github-com-bmatcuk-doublestar)
+    (name "go-github-com-bmatcuk-doublestar-v3")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bmatcuk/doublestar";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "011h07mlmscbxxjr3h30fjjb4dw3gb245nzczaq520r112xlidhj"))))
+    (arguments
+     (substitute-keyword-arguments
+         (package-arguments go-github-com-bmatcuk-doublestar)
+       ((#:import-path _) "github.com/bmatcuk/doublestar/v3")))))
+
+(define-public go-github-com-bmatcuk-doublestar-v4
+  (package
+    (inherit go-github-com-bmatcuk-doublestar)
+    (name "go-github-com-bmatcuk-doublestar-v4")
+    (version "4.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/bmatcuk/doublestar";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bvfxqkpl8bkfqxjxjgmz0gd4b4v6dxwrzxq2qzly0r9zrj1lfic"))))
+    (arguments
+     (list
+      #:import-path "github.com/bmatcuk/doublestar/v4"))))
+
 (define-public go-github-com-bmizerany-perks-quantile
   (package
     (name "go-github-com-bmizerany-perks-quantile")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5724ca16ac..9f0b8ab390 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5413,88 +5413,6 @@ maps (because they are not addressable using Go 
reflection).")
     (native-inputs
      (list go-gopkg-in-yaml-v3))))
 
-(define-public go-github-com-bmatcuk-doublestar
-  (package
-    (name "go-github-com-bmatcuk-doublestar")
-    (version "1.3.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/bmatcuk/doublestar";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
-    (build-system go-build-system)
-    (arguments
-     (list
-      ;; This test fails with Go 1.16.
-      #:test-flags #~(list "-skip" "TestMatch")
-      #:import-path "github.com/bmatcuk/doublestar"))
-    (home-page "https://github.com/bmatcuk/doublestar/";)
-    (synopsis "Path pattern matching and globbing supporting doublestar")
-    (description "@code{doublestar} is a Go implementation of path pattern
-matching and globbing with support for \"doublestar\" patterns.")
-    (license license:expat)))
-
-;; For chezmoi-1.8.11
-(define-public go-github-com-bmatcuk-doublestar-v2
-  (package
-    (inherit go-github-com-bmatcuk-doublestar)
-    (name "go-github-com-bmatcuk-doublestar-v2")
-    (version "2.0.4")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/bmatcuk/doublestar";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "09ma8a9rhs8dg527vjhdf3lsb6lajaq193m6ksssm2k3qajhpi94"))))
-    (arguments
-     (substitute-keyword-arguments
-         (package-arguments go-github-com-bmatcuk-doublestar)
-       ((#:import-path _) "github.com/bmatcuk/doublestar/v2")))))
-
-(define-public go-github-com-bmatcuk-doublestar-v3
-  (package
-    (inherit go-github-com-bmatcuk-doublestar)
-    (name "go-github-com-bmatcuk-doublestar-v3")
-    (version "3.0.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/bmatcuk/doublestar";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "011h07mlmscbxxjr3h30fjjb4dw3gb245nzczaq520r112xlidhj"))))
-    (arguments
-     (substitute-keyword-arguments
-         (package-arguments go-github-com-bmatcuk-doublestar)
-       ((#:import-path _) "github.com/bmatcuk/doublestar/v3")))))
-
-(define-public go-github-com-bmatcuk-doublestar-v4
-  (package
-    (inherit go-github-com-bmatcuk-doublestar)
-    (name "go-github-com-bmatcuk-doublestar-v4")
-    (version "4.7.1")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/bmatcuk/doublestar";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1bvfxqkpl8bkfqxjxjgmz0gd4b4v6dxwrzxq2qzly0r9zrj1lfic"))))
-    (arguments
-     (list
-      #:import-path "github.com/bmatcuk/doublestar/v4"))))
-
 (define-public go-github-com-olekukonko-tablewriter
   (package
     (name "go-github-com-olekukonko-tablewriter")



reply via email to

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