guix-commits
[Top][All Lists]
Advanced

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

09/20: gnu: Add go-gopkg-in-go-playground-assert-v1.


From: guix-commits
Subject: 09/20: gnu: Add go-gopkg-in-go-playground-assert-v1.
Date: Sun, 3 Jan 2021 10:25:01 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 0023c76d68a4ec0145a323b7e90a955d6dc10ce0
Author: Joseph LaFreniere <joseph@lafreniere.xyz>
AuthorDate: Sun Jul 26 23:21:41 2020 -0500

    gnu: Add go-gopkg-in-go-playground-assert-v1.
    
    * gnu/packages/golang.scm (go-gopkg-in-go-playground-assert-v1): New 
variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index b122bca..5ee70c5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -537,6 +537,29 @@ way of specifying command line options.")
     (home-page "https://github.com/jessevdk/go-flags";)
     (license license:bsd-3)))
 
+(define-public go-gopkg-in-go-playground-assert-v1
+  (package
+    (name "go-gopkg-in-go-playground-assert-v1")
+    (version "1.2.1")
+    (home-page "https://github.com/go-playground/assert";)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1h4amgykpa0djwi619llr3g55p75ia0mi184h9s5zdl8l4rhn9pm"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "gopkg.in/go-playground/assert.v1"))
+    (synopsis "Basic assertion library used alongside native Go testing")
+    (description
+     "This package provides bassic assertions along with building blocks for
+custom assertions to be used alongside native Go testing.")
+    (license license:expat)))
+
 (define-public go-github-com-go-playground-locales
   (package
     (name "go-github-com-go-playground-locales")



reply via email to

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