From patchwork Wed Nov 29 22:35:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 57063 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 E88EC27BBEA; Wed, 29 Nov 2023 19:38:13 +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 F2B3927BBE2 for ; Wed, 29 Nov 2023 19:38:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r8QNh-0008Be-3Z; Wed, 29 Nov 2023 14:37:57 -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 1r8QNf-00089T-QW for guix-patches@gnu.org; Wed, 29 Nov 2023 14:37:55 -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 1r8QNf-0000PO-IC for guix-patches@gnu.org; Wed, 29 Nov 2023 14:37:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r8QNn-0005zn-6X; Wed, 29 Nov 2023 14:38:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66827] [PATCH v3 26/66] gnu: go-github-com-google-safehtml: Move to (gnu packages golang-web). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 29 Nov 2023 19:38:03 +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 , Katherine Cox-Buday X-Debbugs-Original-Xcc: Katherine Cox-Buday Received: via spool by 66827-submit@debbugs.gnu.org id=B66827.170128664322964 (code B ref 66827); Wed, 29 Nov 2023 19:38:03 +0000 Received: (at 66827) by debbugs.gnu.org; 29 Nov 2023 19:37:23 +0000 Received: from localhost ([127.0.0.1]:51305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QN8-0005yE-MB for submit@debbugs.gnu.org; Wed, 29 Nov 2023 14:37:23 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:51229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8QMY-0005nG-Vw for 66827@debbugs.gnu.org; Wed, 29 Nov 2023 14:36:47 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40b4746ae51so958345e9.2 for <66827@debbugs.gnu.org>; Wed, 29 Nov 2023 11:36:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701286593; x=1701891393; 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=PIr44fnBNMPZXpjEtkBq+jFpdl9sl/jA17QijCGJSZo=; b=j7Tr89aSXsk9B6gzlVl6I/Fh1KQ4FhsEmIZpDinVBMhUKA3pQ4UG9t+MftWvU/QqEx sBNNQGLw2GFGe7nzvrRiK/yhm55Fnjb4CbdtGTzZWWhJLoJ6aghdqVpFZbJcRGlzE6iZ ZQOX8q18RaHPN2dP5YP7AcRZgHOA9XA3ttEwLJyyy8ScQil3mUt21iJ5NMtCrmfOLxN2 iJz53ou5kZ0ziKsGoeGFDQQuiOjYQsQgA/eCcN+DhUk7M+189Tc1KQsmg8X2VKyMUFUt /xyRfVoCB7vgx3ilL1BdgVeKrC5Gb0EqgWhxkz7uTnmVtuY0AOJIVG2Yu5xGEqq92kKi b63w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701286593; x=1701891393; 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=PIr44fnBNMPZXpjEtkBq+jFpdl9sl/jA17QijCGJSZo=; b=iqq7g2ewGz5SxTLk6XbQSob44fwvowa2CUatTDrD5yVoEMoCdav0PGtFHMevuJZtr1 RnQvieqqK7Yka/ZgLekYHgE3jIiHhvsXFuJ8BqQdKrFwsuwNpqtIWFZTs2faJQUfnWFZ qvE742AcQUQm7LkTxTFVIad1rJpOQ8AbcsaYTxfNruEKXUIUclMdq2m/N+GTPKqNu3C4 QoIoqpyE07Oxrappe5h6q5SFvkgKmirZpigF2UHZm7hTrUmf5yHb8FdHJKKCcnCbmn7B dDn/n/XImkgRtsTxthIQxumqfot7o+LIB9YvvbrLySxErQfIg3QLzye8VWz0Ldl3Ymws 1jtw== X-Gm-Message-State: AOJu0YxRHU2RW6YYL0q/9MrxOrtMyKjTmToW9Bvlri7ro/fMoCRqijVc tuZ9EQB8m7I4wtIDotKjh1jklyOmSkQRPw== X-Google-Smtp-Source: AGHT+IEqnmE7eqPLw5Gu0aFNpmHxHAXO9fsSnKaTWqjUYZkIwpoO4ZdlhqoWrGYs5tP/Bq1X+Awk1Q== X-Received: by 2002:adf:e352:0:b0:333:db9:47d2 with SMTP id n18-20020adfe352000000b003330db947d2mr4471617wrj.66.1701286593486; Wed, 29 Nov 2023 11:36:33 -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 q17-20020a05600c46d100b0040836519dd9sm3239674wmo.25.2023.11.29.11.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 11:36:33 -0800 (PST) From: Sharlatan Hellseher Date: Wed, 29 Nov 2023 22:35:04 +0000 Message-ID: <31e0cfc511eea1eac478223ad4c36e85b4172dbb.1701297273.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <123a0b9b76c24c29184c527dabb652384f7be762.1701297273.git.sharlatanus@gmail.com> References: <123a0b9b76c24c29184c527dabb652384f7be762.1701297273.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 f110da8d99..89aeead50a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12374,31 +12374,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")