diff mbox series

[bug#61989,07/11] gnu: Add go-github-com-jacobsa-ogletest.

Message ID d11310a495bcbb54e79b61ac213e5400a52b56ed.1678049134.git.felix.lechner@lease-up.com
State New
Headers show
Series Adding Gocryptfs (feature branch) | expand

Commit Message

Felix Lechner March 5, 2023, 8:54 p.m. UTC
* gnu/packages/golang.scm (go-github-com-jacobsa-ogletest): New variable.
---
 gnu/packages/golang.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c56813a0b3..c289a8ef44 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1274,6 +1274,41 @@  (define-public go-github-com-jacobsa-oglemock
        "Package oglemock provides a mocking framework for unit tests.")
       (license license:asl2.0))))
 
+(define-public go-github-com-jacobsa-ogletest
+  (let ((commit "80d50a735a1108a2aeb7abc4a988d183f20c5292")
+        (revision "0"))
+    (package
+      (name "go-github-com-jacobsa-ogletest")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jacobsa/ogletest")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1lbwbxzr75g65q07ry5k4kglxqs3ym7xkvqznzm55rm3qk76v83r"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "github.com/jacobsa/ogletest"
+         ;; These tests should be made working
+         #:tests? #f))
+      (native-inputs (list
+                      go-github-com-jacobsa-oglematchers
+                      go-github-com-jacobsa-oglemock
+                      go-github-com-jacobsa-reqtrace
+                      go-golang-org-x-net))
+      (home-page "https://github.com/jacobsa/ogletest")
+      (synopsis "Expressive unit tests")
+      (description
+       "Package ogletest provides a framework for writing expressive unit tests.  It
+integrates with the builtin testing package, so it works with the gotest
+command.  Unlike the testing package which offers only basic capabilities for
+signalling failures, it offers ways to express expectations and get nice failure
+messages automatically.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")