mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Remove go-gopkg-in-go-playground-validator-v9.
The package with v9 has no dependents and fails to build, remove it and overwrite definition with v10. * gnu/packages/golang.scm (go-gopkg-in-go-playground-validator-v9): Delete variable. (go-github-com-go-playground-validator-v10): Overwrite package definition of v9. [propagated-inputs]: Add go-github-com-go-playground-locales. Change-Id: I622d6ccb1cad7fdb038adb9523e74ba1ae4209a5
This commit is contained in:
parent
015c39bfb3
commit
d1091c0167
1 changed files with 13 additions and 35 deletions
|
@ -2165,11 +2165,11 @@ (define-public go-github-com-go-playground-universal-translator
|
|||
@end itemize")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-gopkg-in-go-playground-validator-v9
|
||||
(define-public go-github-com-go-playground-validator-v10
|
||||
(package
|
||||
(name "go-gopkg-in-go-playground-validator-v9")
|
||||
(version "9.31.0")
|
||||
(home-page "https://gopkg.in/go-playground/validator.v9")
|
||||
(name "go-github-com-go-playground-validator-v10")
|
||||
(version "10.22.0")
|
||||
(home-page "https://github.com/go-playground/validator")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -2178,15 +2178,19 @@ (define-public go-gopkg-in-go-playground-validator-v9
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1f8c77s8kx9rip2jarv27x5s4xkcmanh4ndyhbcwvrhncs5rq061"))))
|
||||
(base32 "0zff0qpqfzwa4xazppiq7jvpncnmx52m23qi4ih754b7rzhbk0iz"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
'(#:import-path "gopkg.in/go-playground/validator.v9"))
|
||||
'(#:import-path "github.com/go-playground/validator/v10"))
|
||||
(native-inputs
|
||||
(list go-gopkg-in-go-playground-assert-v1))
|
||||
(list go-github-com-go-playground-assert-v2))
|
||||
(propagated-inputs
|
||||
(list go-github-com-go-playground-universal-translator
|
||||
go-github-com-leodido-go-urn))
|
||||
(list go-github-com-gabriel-vasile-mimetype
|
||||
go-github-com-go-playground-locales
|
||||
go-github-com-go-playground-universal-translator
|
||||
go-github-com-leodido-go-urn
|
||||
go-golang-org-x-crypto
|
||||
go-golang-org-x-text))
|
||||
(synopsis "Validator for structs and individual fields based on tags")
|
||||
(description
|
||||
"This package implements value validations for structs and individual
|
||||
|
@ -2212,32 +2216,6 @@ (define-public go-gopkg-in-go-playground-validator-v9
|
|||
@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.22.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
|
||||
"0zff0qpqfzwa4xazppiq7jvpncnmx52m23qi4ih754b7rzhbk0iz"))))
|
||||
(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"))
|
||||
|
|
Loading…
Reference in a new issue