From patchwork Wed Nov 29 22:34:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 57072 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 3C98A27BBE2; Wed, 29 Nov 2023 19:38:48 +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 6B63B27BBEB for ; Wed, 29 Nov 2023 19:38:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8QMx-0007Qq-Hj; Wed, 29 Nov 2023 14:37:11 -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 1r8QMu-0007Os-Nv for guix-patches@gnu.org; Wed, 29 Nov 2023 14:37:08 -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 1r8QMu-0008RC-FM for guix-patches@gnu.org; Wed, 29 Nov 2023 14:37:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8QN2-0005wS-2a; Wed, 29 Nov 2023 14:37:16 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH v3 14/66] gnu: go-github-com-gorilla-sessions: 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:37:15 +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.170128662422594 (code B ref 66827); Wed, 29 Nov 2023 19:37:15 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Nov 2023 19:37:04 +0000 Received: from localhost ([127.0.0.1]:51217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QMp-0005ro-Aq for submit@debbugs.gnu.org; Wed, 29 Nov 2023 14:37:04 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:46497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QMQ-0005lT-0G for 66827@debbugs.gnu.org; Wed, 29 Nov 2023 14:36:38 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40b4e35ecf1so933485e9.1 for <66827@debbugs.gnu.org>; Wed, 29 Nov 2023 11:36:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701286584; x=1701891384; 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=/r+Q3w15jDO95MHuc5H13qPdBe0FmCTNLLPZnuzP+eQ=; b=KJg+slJc7XMkLRRWAutAnhs2Jg+oOSt1E+2UvmuYRCsCl+vnqh3QH5Yh/tclsHNequ IvqVL8y2feVFlsKPGXBrj+mDMKnqyT5PQF6PMUrALUEumQZKSr6Rqil/ow1R7qIsz35e BaMHzyG7nJWzS6MGoRwN4XXep3gozIG5Vv1vhetdTf/jGy2rC3u8NjlUXoXZ1Y0fShsP 0U0Wu3RLROMNxiJNyrVqd7mbq2+vjxeJeVppFnjPg8vubJQIz0lMifosZXYcfJJYpCM/ LAAWz7SYV83EoGF8Sr/AcGijLocuDtKUcvMlEXJjdHmqYJ0VS7GiPxnVhENPAER80ZOP jzaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701286584; x=1701891384; 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=/r+Q3w15jDO95MHuc5H13qPdBe0FmCTNLLPZnuzP+eQ=; b=g6KbwnmVJAKVYZGGU7Y2Cnqa5UXGNISaWrxpJOSbKCT+BE9XgCWwdj91/sPJG3nqyH 3Jkl3rDfr4kY7UX/LfiUrdntaoJt1UTrH2Ghaak46O+yb4Sm+Q22Kj24pcrh2kXRTwQL B/p4pYT5T1dKIiV1mVv/uEXwujbATkw0276h5xb6DkI6e+OKmwlDf8TSRaxX0eLd1qa7 g+lFXsBgFTQZXe2U6lemkmfd4h4pgMB+AKhSt+smwEgq+VqwLV85v6GEhL8qvJFlRUaA PTz0ATkCP87p9+8gbI4qBn2EznXBmptuKgCQkefUuFPVA8uVukJVG+0r7iGqTr+QUwcL 1l/A== X-Gm-Message-State: AOJu0YxkRclmcdBOSiSF7l1rI6DiUPat8P/5G9goRhx1KLxPswdQeTLd 7qwmLQwYV9CXX3/CoyYIwxU0G2T7HeRPtA== X-Google-Smtp-Source: AGHT+IG9lhD60WDJQyoLDgxt1PqM+864SVgartIRFoKvLgw+pWwUY1RyqIy7rUfv9S7gCwyd6Ab2XQ== X-Received: by 2002:a05:600c:3505:b0:405:3d41:5646 with SMTP id h5-20020a05600c350500b004053d415646mr14929884wmq.2.1701286584585; Wed, 29 Nov 2023 11:36:24 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:36:24 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 29 Nov 2023 22:34:52 +0000 Message-ID: <4f940f0cda8f335712552e61c31023551502e3c0.1701297273.git.sharlatanus@gmail.com> 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-gorilla-sessions): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: Ic4cc128724583a7c50102e476c6b96ea4e322bdd --- gnu/packages/golang-web.scm | 27 +++++++++++++++++++++++++++ gnu/packages/golang.scm | 25 ------------------------- 2 files changed, 27 insertions(+), 25 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 1a77e0f6f2..971b370115 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2021, 2022 Efraim Flashner ;;; Copyright © 2022 Giacomo Leidi ;;; Copyright © 2022 muradm +;;; Copyright © 2023 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -236,6 +237,32 @@ (define-public go-github-com-gorilla-securecookie encrypted cookie values for Go web applications.") (license license:bsd-3))) +(define-public go-github-com-gorilla-sessions + (package + (name "go-github-com-gorilla-sessions") + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gorilla/sessions") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gorilla/sessions")) + (propagated-inputs + (list go-github-com-gorilla-securecookie)) + (home-page "https://github.com/gorilla/sessions") + (synopsis "Manage user sessions in web applications") + (description + "This package that provides infrastructure for creating and managing user +sessions in web applications. It supports cookie and filesystem-based +sessions, flash messages, custom backends, and more.") + (license license:bsd-3))) + (define-public go-github-com-gorilla-websocket (package (name "go-github-com-gorilla-websocket") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index cab67fea65..1d169ce227 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4742,31 +4742,6 @@ (define-public go-github-com-andybalholm-brotli @url{https://github.com/andybalholm/c2go,https://github.com/andybalholm/c2go}.") (license license:expat))) -(define-public go-github-com-gorilla-sessions - (package - (name "go-github-com-gorilla-sessions") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gorilla/sessions") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1zjw2s37yggk9231db0vmgs67z8m3am8i8l4gpgz6fvlbv52baxp")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/gorilla/sessions")) - (propagated-inputs (list go-github-com-gorilla-securecookie)) - (home-page "https://github.com/gorilla/sessions") - (synopsis "Manage user sessions in web applications") - (description - "This package that provides infrastructure for creating and -managing user sessions in web applications. It supports cookie and -filesystem-based sessions, flash messages, custom backends, and more.") - (license license:bsd-3))) - (define-public go-github-com-gorilla-csrf (package (name "go-github-com-gorilla-csrf")