1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Sharlatan Hellseher
2026-02-13 00:05:45 +00:00
committed by Andreas Enge
parent c723afc065
commit 858c9748d6

View File

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