diff mbox series

[bug#44562,12/15] gnu: Add go-golang.org-x-net-html.

Message ID 877dqs963u.fsf@lafreniere.xyz
State New
Headers show
Series [bug#44562,01/15] gnu: Add go-github-com-leodido-go-urn. | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/issue success View issue
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Joseph LaFreniere Nov. 10, 2020, 10:53 p.m. UTC
--
Joseph LaFreniere
diff mbox series

Patch

From 2ae9aa5edde3da1835e7601232b11482aab51362 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 8 Nov 2020 21:52:02 -0600
Subject: [PATCH 12/15] gnu: Add go-golang.org-x-net-html.

* gnu/packages/golang.scm (go-golang.org-x-net-html): 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 bdd312b48e..789a8a946a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6365,3 +6365,28 @@  modifying them.")
     (synopsis "Go library to get configuration values from gitconfig.")
     (description "@{gitconfig} is a package to get configuration values from gitconfig.")
     (license license:expat)))
+
+(define-public go-golang.org-x-net-html
+  (let ((commit "70d85028bad349e3b72df9fa3a5069e5e866d7e2")
+        (revision "0"))
+    (package
+      (name "go-golang.org-x-net-html")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://go.googlesource.com/net")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0zrzn9jg70kzphk4p2mwhn84wsppq51y9ilcmfyg6ga5n3wbqmhm"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "golang.org/x/net/html"
+         #:unpack-path "golang.org/x/net"))
+      (synopsis "HTML5-compliant tokenizer and parser.")
+      (description
+       "This package provides an HTML5-compliant tokenizer and parser.")
+      (home-page "https://godoc.org/golang.org/x/net/html")
+      (license license:bsd-3))))
-- 
2.29.2