mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: Add go-github-com-microcosm-cc-bluemonday.
* gnu/packages/golang.scm (go-github-com-microcosm-cc-bluemonday): New variable.
This commit is contained in:
parent
d3346140e7
commit
36fcbafdb0
1 changed files with 26 additions and 0 deletions
|
@ -4787,3 +4787,29 @@ (define-public go-github-com-chris-ramon-douceur
|
|||
(synopsis "CSS parser and inliner")
|
||||
(description "This package provides a CSS parser and inliner.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-microcosm-cc-bluemonday
|
||||
(package
|
||||
(name "go-github-com-microcosm-cc-bluemonday")
|
||||
(version "1.0.3")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/microcosm-cc/bluemonday")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"071ph097c1iwbcc33x6kblj9rxb1r4mp3qfkrj4qw5mg7qcqxydk"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
`(#:import-path "github.com/microcosm-cc/bluemonday"))
|
||||
(native-inputs
|
||||
`(("go-github-com-chris-ramon-douceur" ,go-github-com-chris-ramon-douceur)
|
||||
("go-github-com-aymerick-douceur" ,go-github-com-aymerick-douceur)
|
||||
("go-github-com-gorilla-css" ,go-github-com-gorilla-css)
|
||||
("go-golang-org-x-net" ,go-golang-org-x-net)))
|
||||
(home-page "https://github.com/microcosm-cc/bluemonday/")
|
||||
(synopsis "HTML sanitizer")
|
||||
(description "@code{bluemonday} is a HTML sanitizer implemented in Go.")
|
||||
(license license:bsd-3)))
|
||||
|
|
Loading…
Reference in a new issue