[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60904] [PATCH 05/25] gnu: Add go-github-com-google-safehtml.
From: |
Katherine Cox-Buday |
Subject: |
[bug#60904] [PATCH 05/25] gnu: Add go-github-com-google-safehtml. |
Date: |
Tue, 17 Jan 2023 18:44:50 -0700 |
* gnu/packages/golang.scm (go-github-com-google-safehtml): New variable.
---
gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 677d58d831..9f7a8160de 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10921,6 +10921,31 @@ (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")
--
2.38.1
- [bug#60899] [PATCH 00/25] gnu: golang: Add gopls, Katherine Cox-Buday, 2023/01/17
- [bug#60905] [PATCH 08/25] gnu: go-github-com-pkg-diff: Update to 0.0.0-20210226163009-20ebb0f2a09e., Katherine Cox-Buday, 2023/01/17
- [bug#60904] [PATCH 05/25] gnu: Add go-github-com-google-safehtml.,
Katherine Cox-Buday <=
- [bug#60898] [PATCH 02/25] gnu: go-golang-org-x-mod: Update to 0.7.0., Katherine Cox-Buday, 2023/01/17
- [bug#60909] [PATCH 11/25] gnu: go-golang-org-x-tools: Update to 0.5.0., Katherine Cox-Buday, 2023/01/17
- [bug#60901] [PATCH 03/25] gnu: Add go-golang-org-x-exp., Katherine Cox-Buday, 2023/01/17
- [bug#60906] [PATCH 09/25] gnu: go-github-com-rogpeppe-go-internal: Update to 1.9.0., Katherine Cox-Buday, 2023/01/17
- [bug#60913] [PATCH 16/25] gnu: Add go-github-com-google-go-cmdtest., Katherine Cox-Buday, 2023/01/17
- [bug#60914] [PATCH 15/25] gnu: Add go-github-com-client9-misspell., Katherine Cox-Buday, 2023/01/17
- [bug#60915] [PATCH 18/25] gnu: Add go-mvdan-cc-unparam., Katherine Cox-Buday, 2023/01/17
- [bug#60921] [PATCH 24/25] gnu: Add go-mvdan-cc-gofumpt., Katherine Cox-Buday, 2023/01/17
- [bug#60900] [PATCH 04/25] gnu: Add go-github-com-jba-printsrc., Katherine Cox-Buday, 2023/01/17
- [bug#60902] [PATCH 06/25] gnu: Add go-github-com-jba-templatecheck., Katherine Cox-Buday, 2023/01/17