From patchwork Mon Oct 30 01:08:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55604 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 0F05327BBEA; Sun, 29 Oct 2023 22:12:36 +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 4870027BBE2 for ; Sun, 29 Oct 2023 22:12:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxDzl-00066z-Gd; Sun, 29 Oct 2023 18:10:57 -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 1qxDzX-0005uf-HK for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:44 -0400 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 1qxDzX-0000Yw-8n for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxE03-0005aE-VM for guix-patches@gnu.org; Sun, 29 Oct 2023 18:11:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH 14/67] gnu: go-github-com-gorilla-sessions: Move to (gnu packages golang-web). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 22:11: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 Received: via spool by 66827-submit@debbugs.gnu.org id=B66827.169861745921113 (code B ref 66827); Sun, 29 Oct 2023 22:11:15 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Oct 2023 22:10:59 +0000 Received: from localhost ([127.0.0.1]:43766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzm-0005UA-1b for submit@debbugs.gnu.org; Sun, 29 Oct 2023 18:10:58 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:50576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzS-0005OX-2t for 66827@debbugs.gnu.org; Sun, 29 Oct 2023 18:10:38 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4079ed65582so28417075e9.1 for <66827@debbugs.gnu.org>; Sun, 29 Oct 2023 15:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698617399; x=1699222199; 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=FxEl88lnhK1dfSxDuEHiYFNcMUuVi+rKwQcjYGEFjco=; b=Z2JmzHIUS9SWdRP1TS9HMIvh04RGVXvy7pzGHyEMMfJIZjYXqYePiTiWMTEd9r/zFj JOZxOu7lNaAmRP2gQw9/lO4VQ3Tvp6JxZoaiPHVEKbjZx/bqwEUGEPf/KbKVY6OTeXi0 6FgU3S7HJlRnbqYbThgdVlC/3YTdLA0bAzrKbVRRR/sQn5xXzJ1oxEXhDDGRBxAmyLjz Hm0FPSOm2x2GhewcKz6k4VuPlJ8EtREEQISJ0X6NIE3YlOeVTaXNfVQAKikYog2FEx4y aP6ID3dJFMEQmodZVg0U6lJ04wOA60TAMAtYcyUXuck9kv2qTvh9LzfXp89iehGW7fNk NYOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698617399; x=1699222199; 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=FxEl88lnhK1dfSxDuEHiYFNcMUuVi+rKwQcjYGEFjco=; b=nUFqdopGIb7YDRhu0rZt57hMsm5gy7Sbz1lHAuChBbU+K9R6sjMnGvmYJ3iy8v/R6G JfHNvu5RqBSK7biis1ljITddBTIjV3GiqmG6XukA62YaFR25KBXmNtfVjf0y1WyCymxf GBiTrUY2tg84hEW2f4fJyXOXMC5J++SSBKF5pe7mTEbWnvWfnKtyKwLXUGs1gJOckN3V Exqo+5cyz51dsVk5/xbzYMDWoRZL7PZUkn2Bd3LUBVJ3e1mP00lFyouJwsABqNg5Yz+V lXXxMQedbidSm5b8dW5gYj/nPq7inIDaHHzDCYRdbcTOnFjl8Ds4sK7pSn24Ba0aVWWj W6NQ== X-Gm-Message-State: AOJu0Yz6Hp3UTnVuRf0fizRfWoKPbfDa2iQEa9m6Z/drsL6kROGQ9OqQ tv4WPIqbqmqZlRi7wNEoQCOIDIh9BvLkwQ== X-Google-Smtp-Source: AGHT+IE5Ys3ae/mjPm51Gs/ptU2gl9JvEooM92yKLawWEUNFY95RKjMxk9g3Q69MrY44NgFhDhKw8w== X-Received: by 2002:a05:600c:4e89:b0:406:51a0:17fd with SMTP id f9-20020a05600c4e8900b0040651a017fdmr6944604wmq.18.1698617399609; Sun, 29 Oct 2023 15:09:59 -0700 (PDT) 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 3-20020a05600c234300b004063cced50bsm7527511wmq.23.2023.10.29.15.09.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:09:59 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 30 Oct 2023 01:08:28 +0000 Message-ID: <7de3ee7b888ae0b96cc48ef84bff157987b185d8.1698627461.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 8ccf611b11..50bf035df7 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4706,31 +4706,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")