From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 oJC9EZkxRGQudAAASxT56A (envelope-from ) for ; Sat, 22 Apr 2023 21:12:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oAXvEJkxRGR6ywAAG6o9tA (envelope-from ) for ; Sat, 22 Apr 2023 21:12:25 +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 E031A13083 for ; Sat, 22 Apr 2023 21:12:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqG7A-0005D3-L2; Sat, 22 Apr 2023 12:29:32 -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 1pqG6n-00052S-MC for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:12 -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 1pqG6n-0000wU-DJ for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqG6n-0008Ot-97 for guix-patches@gnu.org; Sat, 22 Apr 2023 12:29:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH 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: Sat, 22 Apr 2023 16:29:09 +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.168218090832110 (code B ref 63017); Sat, 22 Apr 2023 16:29:09 +0000 Received: (at 63017) by debbugs.gnu.org; 22 Apr 2023 16:28:28 +0000 Received: from localhost ([127.0.0.1]:44012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG67-0008Lj-EA for submit@debbugs.gnu.org; Sat, 22 Apr 2023 12:28:27 -0400 Received: from 1.mo550.mail-out.ovh.net ([178.32.127.22]:37883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG60-0008Jx-Is for 63017@debbugs.gnu.org; Sat, 22 Apr 2023 12:28:22 -0400 Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.20.237]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 8C90B25D1B for <63017@debbugs.gnu.org>; Sat, 22 Apr 2023 16:28:19 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-m5xn8 (unknown [10.110.208.139]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 31AB11FD7F; Sat, 22 Apr 2023 16:28:19 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-m5xn8 with ESMTPSA id q90OCyMLRGRvhBkAFIImOw (envelope-from ); Sat, 22 Apr 2023 16:28:19 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Sat, 22 Apr 2023 18:27:49 +0200 Message-Id: <20230422162750.17012-23-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230422162750.17012-1-ngraves@ngraves.fr> References: <20230422162750.17012-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 802485160839930594 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeifedtudejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth 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=1682190744; a=rsa-sha256; cv=none; b=DC9gkdn9ofiA0TEEMYlXCvg2tJ30fSXEsIMXTpjzNfYZBSe2WdXYL6P6viX+XRfXNErjwa Wf7Ybf2FWbFnOgJbeTo/jgVA8YCWn61ZOnNbtLRJdn8gqb6mOnJM2nT8PqH5BeYriYQhnE +3UbGnzDAme7tHAWj3BVn6RNrDnIMyCxPnm7ljkG9VKbhAY0EIPGFvEGHt1jNM2yluRfav XVe+72fdzSp6xvJWFVvhFfHDXsgcjfxIEt6fgXBeS0+2mTkNsxCMGNI8QuhD1bUJQ5e5cF dxxIthw9Y36FZxtOtwIk0CKoxxl1Dsbv9YD4RN5qbM2V/Te9FLAGIqjl3K2dXg== 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=1682190744; 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=mZWdXBUUXOBIEdFHUx7Zj7HRvu0k+LUjZAf+PeGyDtw=; b=c1L4SNfu6gLj1taSjSPh7LM2MK6cKOIVbJ4c8ER4Y5lHsMCCnHSROKrCVy+P4tKRJlLTxk RS2hJymCZSMFnHiMD0rv8tIntGp/nvMQq2DKu1l4w5xsbwbG8Wr8DMY4U/T7ztkOuxWtdy Bz3f9bDeLUm7lmWLl3H/0xmo0KsiE6BkIbxXtgjyrYckARwjHEk5of0u7RG0tH/DV6GoMO XTeFYKd+5UIUqW0B6CQ7DGLsjgp0CiHuOGSnTeFaotY3PnNLgVCyklqiscXS8AggT2bz5n EPr68j3YfemPoXM0QgX/60ZuAMF6uWhJ5XeZtD0ocStfXyKfAyXJaWgPfXjTyA== X-Migadu-Spam-Score: -1.61 X-Spam-Score: -1.61 X-Migadu-Queue-Id: E031A13083 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: e1eMpBnE8JIQ * 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 2d5a6341aa..742d4f108e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12826,6 +12826,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