sharlatan pushed a commit to branch go-team
in repository guix.
commit a4ad5b0a8485c314b24dabe05f7239bcf160c748
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Dec 14 11:33:05 2024 +0000
gnu: Add go-github-com-corpix-uarand.
* gnu/packages/golang-check.scm (go-github-com-corpix-uarand): New variable.
Change-Id: I35e3f97bef1aae13671523d06c99288160662018
---
gnu/packages/golang-check.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang-check.scm b/gnu/packages/golang-check.scm
index b0c4c1801a..08e062ecff 100644
--- a/gnu/packages/golang-check.scm
+++ b/gnu/packages/golang-check.scm
@@ -207,6 +207,31 @@ test (using testing.TB's @code{TempDir}) and with a few
helper methods.")
"A testing library for Go programs.")
(license license:expat)))
+(define-public go-github-com-corpix-uarand
+ (package
+ (name "go-github-com-corpix-uarand")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/corpix/uarand")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ad5k1h2qpam2cfalwkjigrwg1yc45dny10n08qmqix1gxyjillc"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/corpix/uarand"))
+ (native-inputs (list go-github-com-stretchr-testify))
+ (home-page "https://github.com/corpix/uarand")
+ (synopsis "Random user-agent generator for Golang")
+ (description
+ "This package implements a functionality to generate random user-agent
+strings which may be used in mock tests.")
+ (license license:unlicense)))
+
(define-public go-github-com-davecgh-go-spew
(package
(name "go-github-com-davecgh-go-spew")