From patchwork Wed Nov 8 00:41:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 56083 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DC0AC27BBEA; Tue, 7 Nov 2023 21:47:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AAD4E27BBF3 for ; Tue, 7 Nov 2023 21:47:36 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0Ts9-0002Ij-5D; Tue, 07 Nov 2023 16:44:33 -0500 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 1r0Ts5-0002B3-3Q for guix-patches@gnu.org; Tue, 07 Nov 2023 16:44:29 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0Ts4-0007td-PW for guix-patches@gnu.org; Tue, 07 Nov 2023 16:44:28 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r0Tsg-0000oN-TE for guix-patches@gnu.org; Tue, 07 Nov 2023 16:45:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH 56/67] gnu: go-github-com-xeipuuv-gojsonschema: Move to (gnu packages golang-web). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Nov 2023 21:45:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66827@debbugs.gnu.org Cc: Sharlatan Hellseher Received: via spool by 66827-submit@debbugs.gnu.org id=B66827.16993934702877 (code B ref 66827); Tue, 07 Nov 2023 21:45:06 +0000 Received: (at 66827) by debbugs.gnu.org; 7 Nov 2023 21:44:30 +0000 Received: from localhost ([127.0.0.1]:43664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Ts6-0000kD-6w for submit@debbugs.gnu.org; Tue, 07 Nov 2023 16:44:30 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:46516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0TrI-0000Yp-93 for 66827@debbugs.gnu.org; Tue, 07 Nov 2023 16:43:40 -0500 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-32fb1c35fe0so2820353f8f.1 for <66827@debbugs.gnu.org>; Tue, 07 Nov 2023 13:43:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699393376; x=1699998176; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4zQBLiiintEuEOLJZIJKCIyVUNnWU+K4tV8ycxox4S0=; b=A5vf4AwILHlsrO6zmwhKtToZRN4SXhuK9dY2Se4A/fJkJZk6m0dcBKwTgfIRON/P5Q UbU0Q3Azm/AsEKFb5LBoQ3UqoWJEwC+X8N3MKx5UjM+ZF5ovX4dRBCVpcLlWg+2Mvw85 VGO52HVaFojBgcHZgCgbnlaPHGze1IrAnUx0O4bb8UjSG26gSryBqwFPPfmtJeXo2YOc rHwZtC5GaDPwwWQnEt179nHagvcbeOL8Y39dI+y2StzCuBDrEM6o9KlhzApMbWYBuNjm 3OBqOm1vc+9MWnV37wp+KodlP0Bg7Bb8CatGRInvwivzfMIxYnafhXu4Z8zd0IDFlfDT VvtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699393376; x=1699998176; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4zQBLiiintEuEOLJZIJKCIyVUNnWU+K4tV8ycxox4S0=; b=NVBbrbNVQSMBdqU2QlScE1erIJwrljVL6JHbs19kXMG0SxqM0hDWncVYIcROG9NRRX LNp9rBl5HNJ8ETZk9qzsIyAuxLA+Lw8gAVNbQQPR9vf3yTAaOkZDJ252ajhGSehoW0Nr PpyYzVLeeJKbNTR2c5U7hyoQggJVDOOZVvF8RBM5nokz6ja3p9wPq3NE3Gv+KZ+6309B ilNtd2WprYhQYJz9vaxmXbR6drlB0i5+/TFsyXCeynplqfve/F3n4mW4dEbb2djD0+0+ uDbyUuNBSOSKShM3GPbmeSfBrXSL2Xsat0/StuEPOSPeAUbW4w1QEIOuZjEvEe8xGdLk A9UA== X-Gm-Message-State: AOJu0YyiEya5BLDWCz3uObfYOZTKNI66Mfce2+6p+kywoxqzuAv5rDA5 WHKyfqoTxvBquFuxUgCRMVQpBDgZzXtm6w== X-Google-Smtp-Source: AGHT+IHRfhgKxZUHdbjEXrNQn4dBr2DcJP5tII4fMzQ5U+ZWBEVcID81B76hyU4AgkyyYBjR1lz2gQ== X-Received: by 2002:a5d:574b:0:b0:32f:90c7:87a9 with SMTP id q11-20020a5d574b000000b0032f90c787a9mr44659wrw.66.1699393376413; Tue, 07 Nov 2023 13:42:56 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p2-20020adfce02000000b0032f9688ea48sm3310178wrn.10.2023.11.07.13.42.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:42:56 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 8 Nov 2023 00:41:33 +0000 Message-ID: <4a5d041e2c254ba76e1b3fae234bc929f5144bd0.1699403993.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <0117df90b1ef43a67d4fa86e5b58e60f7c0a52e5.1699403992.git.sharlatanus@gmail.com> References: <0117df90b1ef43a67d4fa86e5b58e60f7c0a52e5.1699403992.git.sharlatanus@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: Iaf68b653f279c98f62ce9e07f2ce010c8e1741e2 --- gnu/packages/golang-web.scm | 41 +++++++++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 40 ------------------------------------ 2 files changed, 41 insertions(+), 40 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 4771657add..c97dfa7757 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1202,6 +1202,47 @@ (define-public go-github-com-valyala-fasthttp replacement for native @code{net/http} module.") (license license:expat))) +(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-gopkg-in-square-go-jose-v2 (package (name "go-gopkg-in-square-go-jose-v2") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0e608a8eab..16b13cd59e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12176,46 +12176,6 @@ (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")