From 4c0dfa28497e5a00b2c1c44837d8e9d35ce48a28 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 14 Dec 2024 11:33:05 +0000 Subject: [PATCH] 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 5650ec6cf45dcc0661dddfa0d12d0c10b62672d4..6030046da745d1794baf0ece2b64b79ba1b8b164 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")