From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oMZmHp3NPWLIIwEAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 15:11:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AKfsFp3NPWKA8AAAG6o9tA (envelope-from ) for ; Fri, 25 Mar 2022 15:11:41 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1AAC228D1B for ; Fri, 25 Mar 2022 15:11:41 +0100 (CET) Received: from localhost ([::1]:50002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXkfD-00031m-13 for larch@yhetil.org; Fri, 25 Mar 2022 10:11:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXkdn-0000ls-Cs for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXkdm-0004bk-VC for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXkdm-0003AR-Ng for guix-patches@gnu.org; Fri, 25 Mar 2022 10:10:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54560] [PATCH 05/47] gnu: Add go-github-com-asaskevich-govalidator. Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 14:10:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54560 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54560@debbugs.gnu.org Cc: Leo =?UTF-8?Q?Nikkil=C3=A4?= Received: via spool by 54560-submit@debbugs.gnu.org id=B54560.164821736311742 (code B ref 54560); Fri, 25 Mar 2022 14:10:10 +0000 Received: (at 54560) by debbugs.gnu.org; 25 Mar 2022 14:09:23 +0000 Received: from localhost ([127.0.0.1]:51976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXkd0-00033E-W9 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 10:09:23 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:38465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXk45-0001ds-O9 for 54560@debbugs.gnu.org; Fri, 25 Mar 2022 09:33:18 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 27ACF3200974; Fri, 25 Mar 2022 09:33:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 25 Mar 2022 09:33:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; bh=i6Z2Q2rbkzsM8W5AhHGFd0VJ4LuWqr VHE7vR4YVylDs=; b=JUyaXLlBmOrVufrTBqsJyzg0lQYKM7A89I+WYlas75bYeA OI0upLTcy32IFQo02xrEkV6H9/XDfVpgWrbKXG5tZgV4SXp6jt/puPClnJS2NtcH buOgCN8sHkGLMkZNIqRk2kFAhmG1ep36P6GuvNrjioJBYoTNO7fmzzIVM6GjrvV5 0kO9hYYIheHPv0AdO8i2SQCi3Bv9CnXpYoyWKsiHEr530ISwU84iFCWSytTvHTfR 23hQJzM57WSY9j2JNT7ZnGNDsZ07bDnV43KMygpBjn6+aeRGm1oLpiA8582UmTFr 0Gzwnxl16G8dff1M6S5UJULPR79CObc5K1WR1IMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=i6Z2Q2 rbkzsM8W5AhHGFd0VJ4LuWqrVHE7vR4YVylDs=; b=JZo6cyoeozTZgykoVx2SL+ LgHe3i2/jAJw2Agu7Oer75pQEvox54zDNUPjwOZJTnViHsU3zriE7UI+RrS6p/B4 ezCIe1N24hYpKCLhlYaQ6HYSLY0fXchEChvs7FDpoAQeutD7aYrtLK4mWWKovuwf jZ+hSuM/1DdLcBOpc9w1HI9thB7b+zuxO8xRSgmG3lngiYMCazU84eBWU8cakkbV OoLY3pJtIzfZsCg9SREoMhkwO0YOyFpCr5xCMaRxDEeayVMHFOfkOKMWiRcKFD1V 3F0jvJeEXyy1AQZ3yzMQ5hoL9BcQFFEP9W4tvRtUBn+cVsK6hF/KhIIkVbROCm9Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeegfeeggedvhfffiedtueegveetffefudekje euieetgffgtdfgfeeludeiteehfeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloh eslhhnihhkkhhirdhlrg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 09:33:11 -0400 (EDT) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Fri, 25 Mar 2022 15:31:29 +0200 Message-Id: <20220325133211.5128-5-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220325133211.5128-1-hello@lnikki.la> References: <20220325133211.5128-1-hello@lnikki.la> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 25 Mar 2022 10:09:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648217501; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=i6Z2Q2rbkzsM8W5AhHGFd0VJ4LuWqrVHE7vR4YVylDs=; b=WBRDXrQIGRBOwoM3BTaH14Amz4LvsBo023QKEKKP2x/QR1FZPXYwpFYi6JzJKGZqdSLXXb AIwFYiCZis6zXkPFqVytmM7Jd8jarg566ar+SVt8eYmrq+Ag6Ng7wuKupU6dTIMvPt6wlE avUt+ir1CGzx5BZG0xC2G/h9AS5x6Z7iE7lw22biRIQIyvzcbT4+E2coW9EIxx8Ktbuid9 +fnQtsL+3+bcfbv++FIEZDLusOWTihdGK2bJ0Q7q9TVtk7GhO81BXYM/uOnfwp9iB+w9nW BS+4iNTimnrl1matoDowmvnyhj05m1vmBB3yiBbWQRAWTviVuqda1TLF/t8JNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648217501; a=rsa-sha256; cv=none; b=ljhw7nuhKmmZGSguVI4oYVnoduizBxDQojBf6A2rbj8smrMmr3+8IeoQYOwmZiLqlRC87Z +rIsKMB1ZBkz3844rC8JoGgw4DAbgULBQSBgQ5xzjJ4+W4TzSxxD41dt+xTNsBMaTcumNb +QEsJhGP4a9YQAmCvFimz8bMf8OkYcgrGDDdbp6IEGB3c2OFi237EPDg8WMVzYd622yano YlTX2HuZEHDBBbgX1NhbNQVQ2TD0f9e+n7wDl/j/1ZmG/Wry6HvINXw5AZ0hVIMrRHUuHC CHm7JV8jjmWzuuKZPbRq0mHA9Iq7F7flBVjy6V0v4fJ0ji+jMv1FPdkgNqiodg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=JUyaXLlB; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=JZo6cyoe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lnikki.la header.s=fm2 header.b=JUyaXLlB; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=JZo6cyoe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lnikki.la (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1AAC228D1B X-Spam-Score: 6.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: JseJayuIcwT0 * gnu/packages/golang.scm (go-github-com-asaskevich-govalidator): New variable. --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f8ca9cf580..ee22952fe7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9784,6 +9784,39 @@ (define-public go-github-com-go-chi-chi-v5 decompose request handling into many smaller layers.") (license license:expat))) +(define-public go-github-com-asaskevich-govalidator + (package + (name "go-github-com-asaskevich-govalidator") + (version "11.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/asaskevich/govalidator") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0aab1pym5c6di8vidynp6ly5j4kcqv6lp2737gw0a07zng0nn8lw")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/asaskevich/govalidator" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda* (#:key import-path #:allow-other-keys) + ;; Skip test that needs network access to check MX records + (substitute* (string-append "src/" import-path + "/validator_test.go") + (("func TestIsExistingEmail\\(t \\*testing\\.T\\) \\{" match) + (string-append match "\n\tt.Skip()"))) + #t))))) + (synopsis "Package of validators and sanitizers for strings, +numerics, slices and structs") + (description "A package of validators and sanitizers for strings, +structs and collections. Based on validator.js.") + (home-page "https://github.com/asaskevich/govalidator") + (license license:expat))) + (define-public go-google-golang-org-protobuf (package (name "go-google-golang-org-protobuf") -- 2.34.0