guix-commits
[Top][All Lists]
Advanced

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

14/24: gnu: Add go-github-com-go-playground-assert-v2.


From: guix-commits
Subject: 14/24: gnu: Add go-github-com-go-playground-assert-v2.
Date: Fri, 16 Feb 2024 09:21:13 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit d2a64c84a92f6a0b46aaaf74b838a208ecce9d9d
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat Jul 29 01:20:00 2023 +0800

    gnu: Add go-github-com-go-playground-assert-v2.
    
    * gnu/packages/golang-check.scm (go-github-com-go-playground-assert-v2):
    New variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
    Change-Id: I18a67488291313c18a8e973614d78b6344d4dc45
---
 gnu/packages/golang-check.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 5df3d9ccec..4874e0c9ae 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -755,6 +755,23 @@ reformat the source code, it only prints out style 
mistakes.")
 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.2.0")
+    (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 "13mb07dxhcy9ydqbracnrpfj682g6sazjpm56yrlbn2jc1yfy44c"))))
+    (arguments
+     (list #:import-path "github.com/go-playground/assert/v2"))))
+
 (define-public go-honnef-co-go-tools
   (package
     (name "go-honnef-co-go-tools")



reply via email to

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