From patchwork Mon Oct 30 01:08:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55593 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 06A1827BBE9; Sun, 29 Oct 2023 22:11:51 +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=unavailable 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 3DFCE27BBE2 for ; Sun, 29 Oct 2023 22:11:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxDzm-00067H-0a; Sun, 29 Oct 2023 18:10:58 -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 1qxDzg-0005z9-Up for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:52 -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 1qxDze-0000Zx-AU for guix-patches@gnu.org; Sun, 29 Oct 2023 18:10:52 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxE0B-0005ca-2c for guix-patches@gnu.org; Sun, 29 Oct 2023 18:11:23 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH 26/67] gnu: go-github-com-google-safehtml: 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:23 +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.169861747321425 (code B ref 66827); Sun, 29 Oct 2023 22:11:23 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Oct 2023 22:11:13 +0000 Received: from localhost ([127.0.0.1]:43823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzz-0005Z5-Vm for submit@debbugs.gnu.org; Sun, 29 Oct 2023 18:11:13 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:61687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxDzb-0005QR-3a for 66827@debbugs.gnu.org; Sun, 29 Oct 2023 18:10:47 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-507c78d258fso5596815e87.2 for <66827@debbugs.gnu.org>; Sun, 29 Oct 2023 15:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698617408; x=1699222208; 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=ndkKcy5t5tB1eVUIAZIudLCzVoEEq/zei/s6GUSNzeI=; b=bsQ8pYiBlohI7VPjqEusKCbkOVW+DlDnwykAKxjleSx5OfeKNIVRTUoSZxOdCAt9/d S76POhrKVpCishqoDho++UlfztviGzOuWlIqA9rJGdaeY2RNopdg/6+lj01QZzEUVZcY FkPBXMx8pSE+7mYK3N35XDv+OW6D+fW1NsN4tdYRdQ0vRgl9pOfP6pH3ocs19wTaPTVt NaPzsQ8Jja522/QNVrV+GQlH3bpjNcRtkVRz3IXdaZhw4CnoP7rYGp8MBO37AykoQ1cG SQUZRHXxfEhdZ1MvcMCwJ8tmF7CHk6UAAHNHm7zcszMAiGKeyUY+0Sk13Que5iqyBBSo X/qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698617408; x=1699222208; 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=ndkKcy5t5tB1eVUIAZIudLCzVoEEq/zei/s6GUSNzeI=; b=rig1FzigpIFiPc90d8TklQ5BaB9mtp+C4ROMTPeBUYFpKJjnStFpjucTwbDuyzMcBe RxfWlgpIWinkgYwb7lLP/SaYM7DVc7QH2QNZe8zaNK8mnxBZUQ0DjEKSJ6jIOaJ3x4++ 4BanqdmsQteTzNazgoMmeI/HhBnRYd9xs1A+9fWaQKivJuai9V5CiXXLFRBGYM19TI0F XxBLwarhd/NJiB1CqJzRXA0UkiSYoqN4xuYSTZ/DpJ2GXFxAju84Gq9o3DPU+h/x7+le xOWf/FGnWpTbXYr2RJpRLwXwzmUwR2cUBYmQipRAkAGJ7YS1ZziUPOTmU7+r/z0oWc3v gsrA== X-Gm-Message-State: AOJu0Yz/R6LxFiWzZ7bk4XqU0o+CCbr0hBadGuADorz2OXYNAXnKyb3f IxLIpDDt7ZfIZdnJjmKdQJOBZYbe/eG1QA== X-Google-Smtp-Source: AGHT+IHjwGwJdK9p4z1qa3h8/IEk7g6VK4lqyysJeduY9ts+k/HCmEfO3yYODnqRfa6mXS+crgLTVA== X-Received: by 2002:a2e:a4a6:0:b0:2c4:feef:64ee with SMTP id g6-20020a2ea4a6000000b002c4feef64eemr5758029ljm.50.1698617408178; Sun, 29 Oct 2023 15:10:08 -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.10.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:10:07 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 30 Oct 2023 01:08:40 +0000 Message-ID: <2437c549cef389c663b6bf85110ff2565db67c3c.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-google-safehtml): Move from here... * gnu/packages/golang-web.scm: ...to here. Change-Id: Ia1f14486f262d3695077c8e2f409f4928874c4f8 --- gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++ gnu/packages/golang.scm | 25 ------------------------- 2 files changed, 26 insertions(+), 25 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 117742dc07..ce95d1b467 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2022 Giacomo Leidi ;;; Copyright © 2022 muradm ;;; Copyright © 2023 Hilton Chain +;;; Copyright © 2023 Katherine Cox-Buday ;;; Copyright © 2023 Nicolas Graves ;;; ;;; This file is part of GNU Guix. @@ -146,6 +147,31 @@ (define-public go-github-com-felixge-httpsnoop application's http.Handlers.") (license license:expat))) +(define-public go-github-com-google-safehtml + (package + (name "go-github-com-google-safehtml") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/safehtml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/google/safehtml")) + (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text))) + (home-page "https://github.com/google/safehtml") + (synopsis "Safe HTML for Go") + (description + "Package safehtml provides immutable string-like types which represent +values that are guaranteed to be safe, by construction or by escaping or +sanitization, to use in various HTML contexts and with various DOM APIs.") + (license license:bsd-3))) + (define-public go-github-com-gorilla-context (let ((commit "08b5f424b9271eedf6f9f0ce86cb9396ed337a42") (revision "0")) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 8e39509e06..8e6cdf3a16 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12247,31 +12247,6 @@ (define-public go-github-com-google-go-jsonnet implementation.") (license license:asl2.0))) -(define-public go-github-com-google-safehtml - (package - (name "go-github-com-google-safehtml") - (version "0.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/google/safehtml") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0j2xjy8xrk9y9k6bqpvimj84i6hg1wwsyvwsb0axhmp49cmnrp86")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/google/safehtml")) - (propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text))) - (home-page "https://github.com/google/safehtml") - (synopsis "Safe HTML for Go") - (description - "Package safehtml provides immutable string-like types which represent values -that are guaranteed to be safe, by construction or by escaping or sanitization, -to use in various HTML contexts and with various DOM APIs.") - (license license:bsd-3))) - (define-public go-github-com-google-shlex (package (name "go-github-com-google-shlex")