gnu: Add go-github-com-jarcoal-httpmock.

* gnu/packages/golang-check.scm (go-github-com-jarcoal-httpmock): New variable.

Change-Id: I6b76a05a97f554af7f9d34aa4aa435a2ba77a3ec
This commit is contained in:
Sharlatan Hellseher 2024-12-19 16:52:33 +00:00
parent fd0586d9c5
commit a46595d886
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")