diff options
author | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-09 00:14:28 +0300 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2020-08-09 17:19:20 +0300 |
commit | 36fcbafdb08535c7b1ff63c9acd8a4196f28ab96 (patch) | |
tree | 215760e618f5f74d1c565b1228485f3596189d80 /gnu | |
parent | d3346140e789faa871ff2e2dc103908a2a39e926 (diff) |
gnu: Add go-github-com-microcosm-cc-bluemonday.
* gnu/packages/golang.scm (go-github-com-microcosm-cc-bluemonday): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 2bc768840b..6bc214380d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4787,3 +4787,29 @@ to jQuery to the Go language.") (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))) |