sharlatan pushed a commit to branch go-team
in repository guix.

commit cd3151669dec377d17ca44547d7822ef34f82c93
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Dec 19 16:52:33 2024 +0000

    gnu: Add go-github-com-jarcoal-httpmock.
    
    * gnu/packages/golang-check.scm (go-github-com-jarcoal-httpmock): New 
variable.
    
    Change-Id: I6b76a05a97f554af7f9d34aa4aa435a2ba77a3ec
---
 gnu/packages/golang-check.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index 0b34644622..88d284bd98 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -828,6 +828,32 @@ failure messages automatically.")
      "Package reqtrace contains a very simple request tracing framework.")
     (license license:asl2.0)))
 
+(define-public go-github-com-jarcoal-httpmock
+  (package
+    (name "go-github-com-jarcoal-httpmock")
+    (version "1.3.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jarcoal/httpmock";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0xw73d59nl1jj18h2hp9vlgqmfvqk9bknzpimg4mjn13d4jzhqrf"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jarcoal/httpmock"))
+    (native-inputs
+     (list go-github-com-maxatome-go-testdeep))
+    (home-page "https://github.com/jarcoal/httpmock";)
+    (synopsis "HTTP mocking for Golang")
+    (description
+     "Package httpmock provides tools for mocking HTTP responses. It
+implements exact URL and regexp matches.")
+    (license license:expat)))
+
 (define-public go-github-com-jbenet-go-cienv
   (package
     (name "go-github-com-jbenet-go-cienv")

Reply via email to