From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MAZLAbk2RWRnVQAASxT56A (envelope-from ) for ; Sun, 23 Apr 2023 15:46:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WBMlAbk2RWSKVAEA9RJhRA (envelope-from ) for ; Sun, 23 Apr 2023 15:46:33 +0200 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 C53CD3BD6A for ; Sun, 23 Apr 2023 15:46:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqYq7-000372-N1; Sun, 23 Apr 2023 08:29:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqYq5-000362-F7 for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqYq5-0001w6-5W for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqYq5-0006QV-0u for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH v2 23/24] gnu: Add go-github-com-xeipuuv-gojsonschema. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Apr 2023 12:29:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63017@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63017-submit@debbugs.gnu.org id=B63017.168225291524521 (code B ref 63017); Sun, 23 Apr 2023 12:29:08 +0000 Received: (at 63017) by debbugs.gnu.org; 23 Apr 2023 12:28:35 +0000 Received: from localhost ([127.0.0.1]:44788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYpX-0006NL-3I for submit@debbugs.gnu.org; Sun, 23 Apr 2023 08:28:35 -0400 Received: from 1.mo575.mail-out.ovh.net ([46.105.41.146]:58395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYpH-0006LZ-1o for 63017@debbugs.gnu.org; Sun, 23 Apr 2023 08:28:20 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.156.6]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 28D672435C for <63017@debbugs.gnu.org>; Sun, 23 Apr 2023 12:28:18 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xlhc7 (unknown [10.110.208.237]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E64231FDF6; Sun, 23 Apr 2023 12:28:17 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-xlhc7 with ESMTPSA id 152+MWEkRWTx/wEAsL4dpQ (envelope-from ); Sun, 23 Apr 2023 12:28:17 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Sun, 23 Apr 2023 14:27:47 +0200 Message-Id: <20230423122748.6770-23-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230423122748.6770-1-ngraves@ngraves.fr> References: <20230423122748.6770-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2621657936677495522 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtkedgheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpeehnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeftddujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682257587; a=rsa-sha256; cv=none; b=H9iDxUVY2LNtILoAGsQT8ipk3d8XjwZ04D8VASNS2ao/aoDjYUeRInkA004xZwcw97UVjJ UIg7BwLFecyfHuto+mM+KwxqUOtBRViHmVtpjgx29c6jDNPomWIfOebcxAZOFmBcEuiTdZ kEY05asiJSmHUUV2SMYNsXCon/zVsKF8k69N4LFoaz2fpCGMAm89+jewkRsBbTc+hW1j/S 6PwIwirIaad9sbiREa6aEQmk3l8rXonrUJa14qDBgTWGkiHIwWhCi8/m1QCXqyjmHMGHPU 0Zs3krtZ8Cs7VjwPZfFqkFkJ2U9mCvDIZigMC95KCnqZNd3cUwXOF2NuChxDRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682257587; h=from:from:sender:sender:reply-to: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; bh=sasm46Bbpm6RKvbcJcWKDBl4Ngb3YXuUIojmspMVyak=; b=eQi3RNujxnlY0elXUdARqIV3dME28i7tI15Mc6gD5dlhhcLy8IW0/RwNOeqQTGoERBLJjt KnD6TbKAAxfIh/BZ2JtyYnGyN5KrOmGUYFOa90DHWxXzJ8lAN2M7TpkFlDBmEYu8UKTyBK HsL3O7pKrKb4g4vYW9b1xlLdtuDo226npF+ugXqEbSp4NaGPCW7vFF1yycwAcfxzZk+I5N Sconc8r3DeEPGuux+m5sXQUEb7VT1ZGoFi7jJWgo0sQPQcM2fEM7bsFc2oCBqyEEzJHYR+ gqWyiKLk8k7/6HhKgk/mAvlB3wWrJjHv2upfxfVgkTrG4j+jB/DIWgrRhETiCg== X-Migadu-Spam-Score: -1.91 X-Spam-Score: -1.91 X-Migadu-Queue-Id: C53CD3BD6A X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-TUID: P1I0Stg1lxHu * gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): New variable. --- gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e1fb09a485..5a45212b0b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12832,6 +12832,46 @@ (define-public go-github-com-xeipuuv-gojsonreference programming language.") (license license:asl2.0)))) +(define-public go-github-com-xeipuuv-gojsonschema + (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416") + (revision "0")) + (package + (name "go-github-com-xeipuuv-gojsonschema") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xeipuuv/gojsonschema") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/xeipuuv/gojsonschema" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (substitute* "schema_test.go" + (("\\{\"phase\": \"remote ref, " all) + (string-append "// " all)) + (("\\{\"phase\": \"valid definition" all) + (string-append "// " all)) + (("\\{\"phase\": \"invalid definition" all) + (string-append "// " all))))))))) + (propagated-inputs (list go-github-com-xeipuuv-gojsonreference + go-github-com-xeipuuv-gojsonpointer + go-github-com-stretchr-testify)) + (home-page "https://github.com/xeipuuv/gojsonschema") + (synopsis "Implementation of JSON Schema for Go") + (description + "This package provides an implementation of JSON Schema for the Go +programming language, which supports draft-04, draft-06 and draft-07.") + (license license:asl2.0)))) + (define-public go-github-com-niemeyer-pretty (package (name "go-github-com-niemeyer-pretty") -- 2.39.2