guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/24: gnu: Add go-github-com-go-playground-validator-v10.


From: guix-commits
Subject: 15/24: gnu: Add go-github-com-go-playground-validator-v10.
Date: Fri, 16 Feb 2024 09:21:13 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit 8bd9ca475e863f0c79ef577a5d7ef45e875b4a70
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat Jul 29 01:20:01 2023 +0800

    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
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]