summaryrefslogtreecommitdiff
path: root/gnu/packages/golang.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-07-29 01:20:01 +0800
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-16 14:17:34 +0000
commit8bd9ca475e863f0c79ef577a5d7ef45e875b4a70 (patch)
tree947634c3997d82a37f52d81aaebac6cc60c9dde6 /gnu/packages/golang.scm
parentd2a64c84a92f6a0b46aaaf74b838a208ecce9d9d (diff)
gnu: Add go-github-com-go-playground-validator-v10.
* gnu/packages/golang.scm (go-github-com-go-playground-validator-v10): New variable. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: Id54761e39cd01b3fa84d4183f5da87e8587f90d0
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r--gnu/packages/golang.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4b1a7b0372..7f6b8769a4 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3011,6 +3011,31 @@ web framework
@end itemize")
(license license:expat)))
+(define-public go-github-com-go-playground-validator-v10
+ (package
+ (inherit go-gopkg-in-go-playground-validator-v9)
+ (name "go-github-com-go-playground-validator-v10")
+ (version "10.18.0")
+ (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
+ "1j8q3mlyhjirzr3fjaj0rx9z1pnaav1hjwjwf7982gdl2p9z3mgg"))))
+ (arguments
+ (list #:import-path "github.com/go-playground/validator/v10"))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs
+ go-gopkg-in-go-playground-validator-v9)
+ (append go-github-com-gabriel-vasile-mimetype
+ go-golang-org-x-crypto
+ go-golang-org-x-text)))
+ (native-inputs
+ (list go-github-com-go-playground-assert-v2))))
+
(define-public go-github-com-nathan-osman-go-sunrise
(let ((commit "c8f9f1eb869135f07378e7e3c5ec7a005f806c73")
(revision "0"))