From patchwork Wed Nov 8 00:41:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 56028 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 46CBC27BBE2; Tue, 7 Nov 2023 21:44:08 +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 886E427BBEA for ; Tue, 7 Nov 2023 21:44:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0Tra-0001Qm-7m; Tue, 07 Nov 2023 16:43:58 -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 1r0TrF-0001Eu-9D for guix-patches@gnu.org; Tue, 07 Nov 2023 16:43:37 -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 1r0TrE-0007es-TP for guix-patches@gnu.org; Tue, 07 Nov 2023 16:43:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r0Trq-0000gO-Qj for guix-patches@gnu.org; Tue, 07 Nov 2023 16:44:14 -0500 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: Tue, 07 Nov 2023 21:44:14 +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.16993934142139 (code B ref 66827); Tue, 07 Nov 2023 21:44:14 +0000 Received: (at 66827) by debbugs.gnu.org; 7 Nov 2023 21:43:34 +0000 Received: from localhost ([127.0.0.1]:43541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0TrB-0000YI-Dy for submit@debbugs.gnu.org; Tue, 07 Nov 2023 16:43:34 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:52447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0Tqw-0000TG-Im for 66827@debbugs.gnu.org; Tue, 07 Nov 2023 16:43:19 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-32f7abbb8b4so3860808f8f.0 for <66827@debbugs.gnu.org>; Tue, 07 Nov 2023 13:42:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699393355; x=1699998155; 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=tc5GVv/c3fUBg2SrjBUMrPjAepFd4d6VjYVl6pozidk=; b=fegYkSzO+z1kdgmIRAlwWlE6GFRhx0PUH3qMTflmYu8zoGuACIYC1QuZ2o0tt6w1oa AzEu38EK25lKClkO0RTIbu2ys+y6Mq9aq2fxv+83S7YcR1uELJEHzyBE9z8Q03EcKEE5 fxTs4B7CZhisdl9rOBJaNeqHMz0dckRci81/k4mfSjNk+0alh9yEfhNH6J2U+lFetL5M pSIVc0IJ/JOzxPvNc1Nk9DXD6xI4vUOCERLYV5rbM+B03XgFM3DzQyHb8jtXj4t+gv/d mAr6gXXEdLgdtHSCTU/nGPDeMSN1MPzxb2+Q7h9d/s08118hmq5nJgflbR6ijxE6TL0j 9MAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699393355; x=1699998155; 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=tc5GVv/c3fUBg2SrjBUMrPjAepFd4d6VjYVl6pozidk=; b=YU0uFolKVkoWdrnOjNNhlETmby7rlJ9GkrsSJY7aEkaF3gPMu08FpS3K4pvrSCakpj Phf41EJjfxePxQF0Ipz+SPP6Axf+/5gUpEJ4JLUdlU7iXdvXjOZruPMLvddnqEypnYMK 7aJ9KVvSLKRK1p4JCNxB1SgFiqkPr+1aFFtK8WMyftjlKcjdskQIkCb2pHAo+lPWllWa iYHzWCZ7/ymZjAjpLRr9mE3SZWZp/Z4uh8kVkwyiz9iVJBNFP5f9ZpBpMlFUr20WoWXQ 4IEQInH99G4i905r5LwLP3qtg7oWx860TJJDz/BfMOtNMkXh57VPI/nUr+naygW40Sgi 5EbQ== X-Gm-Message-State: AOJu0Ywx+7vyuMWpR+aVhRWaINvV3c2n0t/fOr7npW4Qlffl0NAzl1w/ O8CJfF5BygH2x8GZW6qaP6CC1YjprsH87g== X-Google-Smtp-Source: AGHT+IHiCyIPgj08STfs+Fxe6dR56EnhSKttqdUCIjzyOQS6eYgq5OiRpFKnkP3LhNqkZptCppAdfg== X-Received: by 2002:a5d:47a8:0:b0:32d:8e54:29fa with SMTP id 8-20020a5d47a8000000b0032d8e5429famr18115wrb.44.1699393354712; Tue, 07 Nov 2023 13:42:34 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 13:42:34 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 8 Nov 2023 00:41:03 +0000 Message-ID: <64fd90fa470ad536a226ed73b1a7f4173887c75b.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-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 936e9203b3..92f3f90d36 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")