From patchwork Wed Nov 29 22:35:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 57087 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 5CCE427BBF7; Wed, 29 Nov 2023 19:40:16 +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 AA22A27BBEE for ; Wed, 29 Nov 2023 19:40:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8QOq-0000oK-7P; Wed, 29 Nov 2023 14:39:08 -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 1r8QOn-0000lx-Or for guix-patches@gnu.org; Wed, 29 Nov 2023 14:39:05 -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 1r8QOn-0000u1-GA for guix-patches@gnu.org; Wed, 29 Nov 2023 14:39:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8QOv-00068i-4Q; Wed, 29 Nov 2023 14:39:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH v3 56/66] gnu: go-github-com-xeipuuv-gojsonschema: Move to (gnu packages golang-web). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 19:39:13 +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 , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 66827-submit@debbugs.gnu.org id=B66827.170128671623315 (code B ref 66827); Wed, 29 Nov 2023 19:39:13 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Nov 2023 19:38:36 +0000 Received: from localhost ([127.0.0.1]:51374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QOJ-00063r-ON for submit@debbugs.gnu.org; Wed, 29 Nov 2023 14:38:36 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:52342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QMu-0005rg-3D for 66827@debbugs.gnu.org; Wed, 29 Nov 2023 14:37:09 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40b27b498c3so1173705e9.0 for <66827@debbugs.gnu.org>; Wed, 29 Nov 2023 11:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701286615; x=1701891415; 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=+KnhU8QOQ89GifhKd2tcghznZ8rJJ8PjoU9WODriyKk=; b=HieVu2KI88c1kXXVmEvw3gkyrQ54qwGyweAidOcudN9sMHXqYYPolRC9d+LLMYvzCz Ap1LRb/QVoUIO6w2vAL0MINuzpg45EF7Gd7xDUbH2RPMUGmBGllHkiNoEQN4UNiXm8Y1 p1Vf6BWc7+UczzojHShePCLZe8nqcwFxtwEbBvtvqCwhtGY6obYwrjTC4qqHzV60Esmh I9gf9AOXvlW+cZdHg/tkql1kQbV681oavkuwlPTFhP/dloZfE0rg8Zxo6/l/RqTR3zd+ MU6m3Z87X9/uNN77HCCE5JX66CsJspQIiZ5I1ZnTOwB8gP8a0NsTTcNtL4Jp3s2vj+bY 2zCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701286615; x=1701891415; 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=+KnhU8QOQ89GifhKd2tcghznZ8rJJ8PjoU9WODriyKk=; b=vjJe9taHB6zT86oPHNsfTxKHvNZJNTnIiSKUt+GmDjiGfF3CN9AnKBu5Yq59fjFVDH +Sf3iDQyF3C9Ej5X3KPOIY0zRWsh2I4pwjUe87fgLm1Ez24ihO5/up3RV3SrFFVnJ8J/ xeWCAbSW0B3s+9cUQo9g0CjVQ+o60j3K6cvMWB653XWejIo3rY0soIq+0nKsIkmfMVdb /+sm1CvSFw5VQNCv3KDkqsobMaNbndfnWJeLUe3i5pUUuyk9LjdjSTXyQBT5yptOgkG0 /Io6hcljYlqpNFC9ir192AHtH3vz9CbACKs9bK9VC0RMJhdnaEG7owc5oGzYoFUKrXIn 6SuQ== X-Gm-Message-State: AOJu0YynIEHsOdrdugk0JT3UudP0Xi5aOhvrrg5ApgBAiVZdjpfq85n1 C9zR+R2Io68a49J4p008KFRnjTlljAaX6A== X-Google-Smtp-Source: AGHT+IG3iSZLWGb2SiII2L8sptrBIUPaQ6rWLzEJzJaFCw19gxJuzVLXZAdCm2pPrlRZVhi18oW3+A== X-Received: by 2002:a05:600c:1550:b0:40b:4b1a:57f with SMTP id f16-20020a05600c155000b0040b4b1a057fmr5035228wmg.24.1701286614641; Wed, 29 Nov 2023 11:36:54 -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 q17-20020a05600c46d100b0040836519dd9sm3239674wmo.25.2023.11.29.11.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:36:54 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 29 Nov 2023 22:35:34 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <123a0b9b76c24c29184c527dabb652384f7be762.1701297273.git.sharlatanus@gmail.com> References: <123a0b9b76c24c29184c527dabb652384f7be762.1701297273.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 38398b111b..ee4cef4887 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12303,46 +12303,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")