guix-patches
[Top][All Lists]
Advanced

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

[bug#64916] [PATCH v2 14/23] gnu: Add go-github-com-go-playground-assert


From: Hilton Chain
Subject: [bug#64916] [PATCH v2 14/23] gnu: Add go-github-com-go-playground-assert-v2.
Date: Sat, 29 Jul 2023 01:20:00 +0800

* gnu/packages/golang.scm (go-github-com-go-playground-assert-v2): New
variable.
---
 gnu/packages/golang.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 425afc9a6b..6a5f111824 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3037,6 +3037,23 @@ (define-public go-gopkg-in-go-playground-assert-v1
 custom assertions to be used alongside native Go testing.")
     (license license:expat)))
 
+(define-public go-github-com-go-playground-assert-v2
+  (package
+    (inherit go-gopkg-in-go-playground-assert-v1)
+    (name "go-github-com-go-playground-assert-v2")
+    (version "2.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/go-playground/assert";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1cl9c4s405zddzrj36hhs0a18g02zscdl46fyipp6k91mhvai8wz"))))
+    (arguments
+     (list #:import-path "github.com/go-playground/assert/v2"))))
+
 (define-public go-github-com-go-playground-locales
   (package
     (name "go-github-com-go-playground-locales")
-- 
2.41.0






reply via email to

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