diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index 2d53b57..69b9f77 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -56,6 +56,36 @@ Go testing, with building blocks for custom assertions.") (license license:expat))) +(define-public go-github-com-go-playground-validator-v10 + (package + (name "go-github-com-go-playground-validator-v10") + (version "10.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-playground/validator") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03sd3gd3pl2bv07ivrixp3h5hrw1d1llrpjdalh9jbgby0x2f8ig")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/go-playground/validator/v10")) + (propagated-inputs + (list go-github-com-go-playground-universal-translator + go-github-com-leodido-go-urn + go-golang-org-x-crypto + go-golang-org-x-text)) + (native-inputs + (list go-github-com-go-playground-assert-v2)) + (home-page "https://github.com/go-playground/validator") + (synopsis "Go Struct and Field validator") + (description + "This package provides a Go validator which implements value validations +for structs and individual fields based on tags.") + (license license:expat))) + (define-public go-github-com-google-gopacket (package (name "go-github-com-google-gopacket")