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(+)
@@ -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