From patchwork Wed Nov 8 00:41:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 56056 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 27D5527BBEA; Tue, 7 Nov 2023 21:46:12 +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 DBB1027BBE2 for ; Tue, 7 Nov 2023 21:46:07 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0Trb-0001Ud-9x; Tue, 07 Nov 2023 16:43:59 -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 1r0TrI-0001H1-2l for guix-patches@gnu.org; Tue, 07 Nov 2023 16:43:40 -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 1r0TrH-0007gj-Jy for guix-patches@gnu.org; Tue, 07 Nov 2023 16:43:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r0Trt-0000hF-Lr for guix-patches@gnu.org; Tue, 07 Nov 2023 16:44:17 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH 33/67] gnu: go-github-com-valyala-fasthttp: 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:44:17 +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.16993934422376 (code B ref 66827); Tue, 07 Nov 2023 21:44:17 +0000 Received: (at 66827) by debbugs.gnu.org; 7 Nov 2023 21:44:02 +0000 Received: from localhost ([127.0.0.1]:43576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Trd-0000c4-Ln for submit@debbugs.gnu.org; Tue, 07 Nov 2023 16:44:02 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:50586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Tr2-0000UW-2m for 66827@debbugs.gnu.org; Tue, 07 Nov 2023 16:43:25 -0500 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507975d34e8so8918278e87.1 for <66827@debbugs.gnu.org>; Tue, 07 Nov 2023 13:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699393360; x=1699998160; 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=041Hzc2EfowQXmnMT2EteZJOCA+byBqSvIJuRxxeDi4=; b=ZJp/j6rG8eIBoBFVe7KpCjiJnV7Kn3OJ3H4VzbmC1i6LdCn259HloeMTGncU+ynYhn b2oDBu6aOyVDk9V15+E/Cjhnp2p0q7UfaFcJkJVnIJGUoYL2ll23fC87CKLBAdWw/0UH DIIpUviq87xywiOgb0pJfrmea86uVUhX8hbTIJyL3gh1P78gxR2WGAZQYLy82G6ogW5R I80cG6lr/xf89VUAemBjqUpPnrpo72Gb9GK2dW2Bv4JRmY75qdO+fx31jmsR/fHStToU CmHiOwXHBtPAzJ6xyzC2BGEEz34+JRbx1SWF8Y6G2G35sLMOd1APRuG0/4j32AU1EHWP mp1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699393360; x=1699998160; 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=041Hzc2EfowQXmnMT2EteZJOCA+byBqSvIJuRxxeDi4=; b=LlVU8pgW27kwBOrKlBFWBZAhSZuy0YWOI5mU9+ccJlXIbrv/GebLQ6tspE4D68HXur 7mAW834EGZu9TxMfx+3+v/Ewzb77P607GBYRI95PWVTbr0dIf5wNW2UDggK/bdieG9pB hIhRtHz0exgLCpIwBcjHcHOPmlrKngmjBMPHDNSAArxxs5M+36+PuRI1k7b9kmlfk9u7 7fdJDGVoRrQ5HrdHU0at7VUVccD5AUmqFGcXJk39PxXJnwk1a7pa11qZxM5HSwB6LH+8 qYnETD6sufrdpU134lCeeG0NJrqie5PyT4xLcW1UJErK3X5racMhc7Tu2FLNNi3KH+x3 /oHA== X-Gm-Message-State: AOJu0YyNdgcbME+yT92TT5UyqeCA9XkVm3S5X7vzniK52M84COCF/Zqb Rc+ASuYRgmzhaNa5ktiGXcU920YCQtNENg== X-Google-Smtp-Source: AGHT+IGKTx7dgpb7DTxkU6dUx2+h6K20TyAjW6a/IRzSlwXEiSGHdSgq3SDZS6AZz0/dryP6VPQj5A== X-Received: by 2002:ac2:5183:0:b0:509:1301:8470 with SMTP id u3-20020ac25183000000b0050913018470mr20159341lfi.45.1699393359963; Tue, 07 Nov 2023 13:42:39 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:42:39 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 8 Nov 2023 00:41:10 +0000 Message-ID: <0b638ec9c31fa614d89c6d9b36069d4415fd8394.1699403992.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-valyala-fasthttp): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: I60676c0204e198c6050724efa5410c5b695f88fb --- 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 352c831e41..f59415452f 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2023 Hilton Chain ;;; Copyright © 2023 Katherine Cox-Buday ;;; Copyright © 2023 Nicolas Graves +;;; Copyright © 2022 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -760,6 +761,46 @@ (define-public go-github-com-tdewolff-parse-v2 "This package contains several lexers and parsers written in Go.") (license license:expat))) +(define-public go-github-com-valyala-fasthttp + (package + (name "go-github-com-valyala-fasthttp") + (version "1.39.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/valyala/fasthttp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/valyala/fasthttp" + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs #:allow-other-keys #:rest args) + (unless + ;; Tests hang forever with gccgo. + (false-if-exception (search-input-file inputs "/bin/gccgo")) + (apply (assoc-ref %standard-phases 'check) args))))))) + (propagated-inputs + (list go-github-com-andybalholm-brotli + go-github-com-klauspost-compress + go-github-com-valyala-bytebufferpool + go-github-com-valyala-tcplisten + go-golang-org-x-crypto + go-golang-org-x-net + go-golang-org-x-sys)) + (home-page "https://github.com/valyala/fasthttp") + (synopsis "Provides fast HTTP server and client API") + (description + "This package provides a Go module @code{fasthttp} which may be used as +replacement for native @code{net/http} module.") + (license license:expat))) + (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 10297c324d..b5f406de83 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -11041,46 +11041,6 @@ (define-public go-github-com-valyala-bytebufferpool anti-fragmentation protection.") (license license:expat))) -(define-public go-github-com-valyala-fasthttp - (package - (name "go-github-com-valyala-fasthttp") - (version "1.39.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/valyala/fasthttp") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "12qwx0yk7wjj25v4fswgmj28r69gk94kqdmzavca8k9f0yznniz1")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/valyala/fasthttp" - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs #:allow-other-keys #:rest args) - (unless - ;; Tests hang forever with gccgo. - (false-if-exception (search-input-file inputs "/bin/gccgo")) - (apply (assoc-ref %standard-phases 'check) args))))))) - (propagated-inputs - (list go-golang-org-x-sys - go-golang-org-x-net - go-golang-org-x-crypto - go-github-com-valyala-tcplisten - go-github-com-valyala-bytebufferpool - go-github-com-klauspost-compress - go-github-com-andybalholm-brotli)) - (home-page "https://github.com/valyala/fasthttp") - (synopsis "Provides fast HTTP server and client API") - (description - "This package provides a Go module @code{fasthttp} which may be used as -replacement for native @code{net/http} module.") - (license license:expat))) - (define-public go-github-com-valyala-tcplisten (package (name "go-github-com-valyala-tcplisten")