summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-13 00:05:45 +0000
committerAndreas Enge <andreas@enge.fr>2026-03-18 14:07:31 +0100
commit858c9748d633b6bacf662a20db8176a1061ff6c4 (patch)
tree463c1ee9b7c1c3aaad04a2bf12377d20c13df0a1 /gnu
parentc723afc065fb8d1fd081629785bc043cb9c70529 (diff)
gnu: Add go-github-com-brianvoe-gofakeit.
* gnu/packages/golang-web.scm (go-github-com-brianvoe-gofakeit-v6) (go-github-com-brianvoe-gofakeit-v7): New variable. Change-Id: I62f98edcefd4ca89200d189c8319c550c77ba076
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-web.scm82
1 files changed, 82 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 08c25e3ead3..641f1170bbe 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2789,6 +2789,88 @@ differentiate between installs of Mozilla software in @code{installs.ini} and
@code{profiles.ini}.")
(license license:expat)))
+(define-public go-github-com-brianvoe-gofakeit-v6
+ (package
+ (name "go-github-com-brianvoe-gofakeit-v6")
+ (version "6.28.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/brianvoe/gofakeit")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0yg33zl0vf54g0lhb4qvhl3ncicfcj2mij111wh5wzwydsqyqzk7"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/brianvoe/gofakeit/v6"
+ #:test-flags
+ #~(list "-vet=off"
+ "-skip" (string-join
+ ;; Some random mismatch in example tests.
+ (list "ExampleCar"
+ "ExampleCreditCard"
+ "ExampleCreditCardExp"
+ "ExampleDate"
+ "ExampleFaker_Car"
+ "ExampleFaker_CreditCard"
+ "ExampleFaker_CreditCardExp"
+ "ExampleFaker_Date"
+ "ExampleFaker_FirefoxUserAgent"
+ "ExampleFaker_Person"
+ "ExampleFaker_SQL"
+ "ExampleFaker_Year"
+ "ExampleFirefoxUserAgent"
+ "ExamplePerson"
+ "ExampleSQL"
+ "ExampleYear"
+ "TestStructToDateTime")
+ "|"))))
+ (home-page "https://github.com/brianvoe/gofakeit")
+ (synopsis "Random fake data generator written in Go")
+ (description
+ "This package provides a set of functions that generate random data.")
+ (license license:expat)))
+
+(define-public go-github-com-brianvoe-gofakeit-v7
+ (package
+ (inherit go-github-com-brianvoe-gofakeit-v6)
+ (name "go-github-com-brianvoe-gofakeit-v7")
+ (version "7.14.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/brianvoe/gofakeit")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wvp9h3wyx131y2jk48r3ymhzq3p16isxa1a6chw410ixxi497lh"))))
+ (arguments
+ (list
+ #:import-path "github.com/brianvoe/gofakeit/v7"
+ #:test-flags
+ #~(list "-skip" (string-join
+ ;; Some random mismatch in example tests.
+ (list "ExampleCreditCard"
+ "ExampleCreditCardExp"
+ "ExampleDate"
+ "ExampleFaker_CreditCard"
+ "ExampleFaker_CreditCardExp"
+ "ExampleFaker_Date"
+ "ExampleFaker_FirefoxUserAgent"
+ "ExampleFaker_Person"
+ "ExampleFaker_SQL"
+ "ExampleFaker_Year"
+ "ExampleFirefoxUserAgent"
+ "ExamplePerson"
+ "ExampleSQL"
+ "ExampleYear"
+ "TestStructToDateTime")
+ "|"))))))
+
(define-public go-github-com-buger-jsonparser
(package
(name "go-github-com-buger-jsonparser")