From patchwork Mon Oct 30 01:08:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55606 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 083F627BBEC; Sun, 29 Oct 2023 22:12:54 +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 DE06927BBE2 for ; Sun, 29 Oct 2023 22:12:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxDzj-00063X-BC; Sun, 29 Oct 2023 18:10:55 -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 1qxDzU-0005uA-86 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 1qxDzT-0000YW-Vw for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxE00-0005ZI-MD for guix-patches@gnu.org; Sun, 29 Oct 2023 18:11:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH 10/67] gnu: go-github-com-gorilla-handlers: 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:12 +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.169861745621065 (code B ref 66827); Sun, 29 Oct 2023 22:11:12 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Oct 2023 22:10:56 +0000 Received: from localhost ([127.0.0.1]:43757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzj-0005TU-K6 for submit@debbugs.gnu.org; Sun, 29 Oct 2023 18:10:56 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:56797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzP-0005OD-Fq for 66827@debbugs.gnu.org; Sun, 29 Oct 2023 18:10:36 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40891d38e3fso29754055e9.1 for <66827@debbugs.gnu.org>; Sun, 29 Oct 2023 15:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698617397; x=1699222197; 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=q/3GN6daqpefMA957fr1gq7v/qreJmyekplLM3tnej0=; b=HObJwIW/eXq5OK3hZ5VWzJ7JeyafK4QQ6///QlcmMvmbu4U1hr7PxgmM/59QsqkhXw y37tbsZiu/HpG227y6C/5AzWxN/f/rw4ICi2J4qhUE7lHpdgN/2Tkx9uR8hbKd7bV3gZ 3UISP749ScNRFarFvLnV8MPTvfFnx3z+2G14kudtfG6oAMz+aq2HRxTMWPECregdVQuc BkLUYBrQbayKKYDGaMopM/Y5zrhQB1FQvhQIjXfsUtnm4gtO2VUFt/PO4wiyMzPMPWMJ 5crRYJurq02e3eB9+BxjgGXWfq5R6gSjZlFT8mKvBeSjYPEcJdGNFVsNbt6vaBI9QMaO DDiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698617397; x=1699222197; 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=q/3GN6daqpefMA957fr1gq7v/qreJmyekplLM3tnej0=; b=F7VjImtaia02VQqFN+cCzLxoMPx2x3ld+v15weEYgefiaqi6RK2vIIj+QMgx3NRdjx V92MIJkUs3r6Rd/dTjF+qncOC3WEzEaAc/KTLkEZExGXNuyah6sZMUZCYkf+xGXnrllM +ZlugUxJ+6ZM4MqozGWwXQj2zgv08qUIQ2YmQhh6CYguU6Wlxvrb873/ba0LNudtadVI qOUtw3GDiYsMqMIIMiPesUoEHf514TUEs75GyQ1Re2KOTvinxWLWQMfEPZ5/eEZItRa7 QB6M27rqsHLR13YcNUJbe7xw2Ky28+XWHRayeuZXoZPZjsd2fLrhYo65koToRwTicKJv 3gmw== X-Gm-Message-State: AOJu0YwB//eRXEaFmIQP6FEria+YvicoMdEy4j+oChxw+ZcPQ3a8wAth C+mS5YBakdxeC0zpURWuT0QG7DOWkqZT4g== X-Google-Smtp-Source: AGHT+IG4r4oq7ZgWx1wYQ6mimuUkZbuLMRwJK6i5XCv9BmpNRQFFglTsZB0kqCkfypeyiPM1q4kMtA== X-Received: by 2002:a05:600c:1c90:b0:405:37bb:d942 with SMTP id k16-20020a05600c1c9000b0040537bbd942mr6906175wms.4.1698617396952; Sun, 29 Oct 2023 15:09:56 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:09:56 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 30 Oct 2023 01:08:24 +0000 Message-ID: <596e4ed5e4bb1b7df959b93083cee1fcffc31f1f.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-handlers): Move from here... * gnu/packages/golang-web.scm: ...to here. * gnu/packages/backup.scm: Add (gnu packages golang-web) module. Change-Id: I7535bdecc681e230f4aee70115a3dea847d40e6f --- gnu/packages/backup.scm | 1 + gnu/packages/golang-web.scm | 28 +++++++++++++++++++++++++++- gnu/packages/golang.scm | 26 -------------------------- 3 files changed, 28 insertions(+), 27 deletions(-) diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 12c4a45b9d..8e0a782f91 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -71,6 +71,7 @@ (define-module (gnu packages backup) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) + #:use-module (gnu packages golang-web) #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index f9e7039707..0480f648eb 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1,9 +1,10 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Pierre-Antoine Rouby ;;; Copyright © 2020 Martin Becze +;;; Copyright © 2020 Martin Becze ;;; Copyright © 2020 Oleg Pykhalov -;;; Copyright © 2021, 2022 Efraim Flashner ;;; Copyright © 2021 Sarah Morgensen +;;; Copyright © 2021, 2022 Efraim Flashner ;;; Copyright © 2022 Giacomo Leidi ;;; Copyright © 2022 muradm ;;; @@ -139,6 +140,31 @@ (define-public go-github-com-gorilla-css (description "This package provides a CSS3 tokenizer.") (license license:bsd-3))) +(define-public go-github-com-gorilla-handlers + (package + (name "go-github-com-gorilla-handlers") + (version "1.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gorilla/handlers") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s")))) + (build-system go-build-system) + (propagated-inputs + `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop))) + (arguments + '(#:tests? #f ; Tries to download from the internet + #:import-path "github.com/gorilla/handlers")) + (home-page "https://github.com/gorilla/handlers") + (synopsis "Middleware for Go HTTP services and web applications") + (description "A collection of useful middleware for Go HTTP services and +web applications.") + (license license:bsd-3))) + (define-public go-github-com-gorilla-mux (package (name "go-github-com-gorilla-mux") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 97c89407a5..7c7167b3b6 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4706,32 +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-handlers - (package - (name "go-github-com-gorilla-handlers") - (version "1.5.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gorilla/handlers") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "15gycdz9lkjnsvvichsbdf25vf6pi1sfn41khhz53iqf300l0w0s")))) - (build-system go-build-system) - (propagated-inputs - `(("github.com/felixge/httpsnoop" ,go-github-com-felixge-httpsnoop))) - (arguments - '(#:tests? #f ; Tries to download from the internet - #:import-path "github.com/gorilla/handlers")) - (home-page "https://github.com/gorilla/handlers") - (synopsis "Middleware for Go HTTP services and web applications") - (description "A collection of useful middleware for Go HTTP services -and web applications.") - (license license:bsd-3))) - (define-public go-github-com-gorilla-securecookie (package (name "go-github-com-gorilla-securecookie")