From patchwork Wed Nov 8 00:40:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 56049 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 390F227BBEA; Tue, 7 Nov 2023 21:45:50 +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 4E3DB27BBE2 for ; Tue, 7 Nov 2023 21:45:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0TrI-0001Gr-8a; Tue, 07 Nov 2023 16:43:43 -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 1r0Tr9-00019Z-Jd for guix-patches@gnu.org; Tue, 07 Nov 2023 16:43:31 -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 1r0Tr9-0007dN-Av for guix-patches@gnu.org; Tue, 07 Nov 2023 16:43:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r0Trl-0000eh-CQ for guix-patches@gnu.org; Tue, 07 Nov 2023 16:44:09 -0500 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: Tue, 07 Nov 2023 21:44:09 +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.16993934021940 (code B ref 66827); Tue, 07 Nov 2023 21:44:09 +0000 Received: (at 66827) by debbugs.gnu.org; 7 Nov 2023 21:43:22 +0000 Received: from localhost ([127.0.0.1]:43501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Tqz-0000V4-PG for submit@debbugs.gnu.org; Tue, 07 Nov 2023 16:43:22 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:45058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Tqn-0000Qz-TV for 66827@debbugs.gnu.org; Tue, 07 Nov 2023 16:43:10 -0500 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-32f7bd27c2aso4285020f8f.2 for <66827@debbugs.gnu.org>; Tue, 07 Nov 2023 13:42:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699393346; x=1699998146; 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=eQbHw0fLAZVj12xUIp1RvT+qIkUzjErH8WfDsWqawqo=; b=D4/MgmG+dGoMObAeQ0jyjn3D+vloekC37WyIJBTu0B46/Z3MrhY1mAJAQCHLaNHXxk jyrGH25KfFj8MAYLdN78180irDKUR4+tk8/033nAdpw2Q/4o5pgUoXRDqO4zmNU0bnwr jcCUTNINm4FFcyIl3X6XeqYkFzCvACVbrq8Q3unRyw26y9iyy9e+DggXOkgRwIAgaNJF GF66rSPJokWdcUVxomml15WugYOIQgFkaFzzYTPaC1ZMJuXSek7vQU993tzuUlBo17No Cq2IC7UZn+HBbpVkM08tgD32u7vNgqDHw8W6YMT4b639jqxD7fUlb+MpnW6M71e9oCjg FIRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699393346; x=1699998146; 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=eQbHw0fLAZVj12xUIp1RvT+qIkUzjErH8WfDsWqawqo=; b=pRvN/v4aX1q1JkeRUacGtpzI6UxKWgf80Sc22hYUlUjpiDdGfoUOu+8iLimyTuisEl KQSfi4/WON5U9cz47gCqpkslD/O2XLeJDMExZ8xxMgsjOsnSp/0uwpn+D1mFSpDZlnfQ dqWRtS5R+qf6xszht+1k2y9kuIBUSLTb38KP5n6/lSaxl2Y9gJPwFOb3DVeS3GqWyygE 905GKQuuNp4KpSnwUrYp/9T+HeyxGOgnSJzSVDcQC+MRyhNGl/RHAAbwtoduMTjoZJez Br0QUuQD6/INGA1MN6nxGKbeoa9KfIi36DeewXuv0sgNHHtFtLtMvmwqmFMYPysUzGoO W8bg== X-Gm-Message-State: AOJu0YwcfKKkJAyS/j5QEWTYDHs5FtocQDwatqHxp2AIhrRaTDLjHr9t I7UkgIpajH4RENKZtB8hl9Pr6hRbqMuM4w== X-Google-Smtp-Source: AGHT+IHrbmSavhyEccoeKM7OLnTicggvsQs8N1QSvYSE4AFwYxit55g1Q2eAynYvq1jK+RX69bzmQA== X-Received: by 2002:a05:6000:1a8f:b0:32f:7ae6:64a7 with SMTP id f15-20020a0560001a8f00b0032f7ae664a7mr33433wry.55.1699393346002; Tue, 07 Nov 2023 13:42:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:42:25 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 8 Nov 2023 00:40:51 +0000 Message-ID: <568810374dcf31bc946382d435817b6e589b24e8.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-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 3fd20ec3c0..a8d35b866c 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")