guix-commits
[Top][All Lists]
Advanced

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

06/13: gnu: Add go-github-com-jacobsa-oglemock.


From: guix-commits
Subject: 06/13: gnu: Add go-github-com-jacobsa-oglemock.
Date: Mon, 6 Mar 2023 11:40:07 -0500 (EST)

lfam pushed a commit to branch wip-go-updates
in repository guix.

commit 84cf7958a7c42b6ca07e8266cb66d7d99f36f2b5
Author: Felix Lechner <felix.lechner@lease-up.com>
AuthorDate: Sun Mar 5 12:54:50 2023 -0800

    gnu: Add go-github-com-jacobsa-oglemock.
    
    * gnu/packages/golang.scm (go-github-com-jacobsa-oglemock): New variable.
    
    Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 08050a35b7..c56813a0b3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1245,6 +1245,35 @@ framework.  These matchers are inspired by and mostly 
compatible with Google
 Test for C++ and Google JS Test.")
       (license license:asl2.0))))
 
+(define-public go-github-com-jacobsa-oglemock
+  (let ((commit "e94d794d06ffc6de42cb19d0dab3c219efdd6dcf")
+        (revision "0"))
+    (package
+      (name "go-github-com-jacobsa-oglemock")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jacobsa/oglemock";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "14yxf8ykwdwkcccksl6741xgzcf8qykyi58kp4maxpgscqhdl8rq"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:import-path "github.com/jacobsa/oglemock"
+        ;; break loop with with go-github-com-jacobsa-ogletest
+        #:tests? #f))
+      (native-inputs (list
+                      go-github-com-jacobsa-oglematchers))
+      (home-page "https://github.com/jacobsa/oglemock";)
+      (synopsis "Mocking framework for unit tests")
+      (description
+       "Package oglemock provides a mocking framework for unit tests.")
+      (license license:asl2.0))))
+
 (define-public go-github-com-kataras-golog
   (package
     (name "go-github-com-kataras-golog")



reply via email to

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