diff options
author | Hilton Chain <hako@ultrarare.space> | 2023-06-05 21:52:18 +0800 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-07-01 23:38:27 +0200 |
commit | 71a2821105c42f9485a1c208504e893ac30fc2da (patch) | |
tree | 5e225197794bc7e16a40b4a1277fb380e34834d0 /gnu | |
parent | ac481a00501d93f07332ae603f50a91068e15d29 (diff) | |
download | guix-71a2821105c42f9485a1c208504e893ac30fc2da.tar guix-71a2821105c42f9485a1c208504e893ac30fc2da.tar.gz |
gnu: Add go-github-com-tdewolff-minify-v2.
* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/golang.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e802d8b3b3..9682dbcad8 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3384,6 +3384,33 @@ per-goroutine.") (description "The @code{walker} function is a faster, parallel version, of @code{filepath.Walk}"))) +(define-public go-github-com-tdewolff-minify-v2 + (package + (name "go-github-com-tdewolff-minify-v2") + (version "2.12.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tdewolff/minify") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h006wpfkl0ls0skqxblwcanrhmphgq5q0ii26l2ayh7s99cgmy3")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/tdewolff/minify/v2")) + (propagated-inputs + (list go-github-com-tdewolff-parse-v2)) + (native-inputs + (list go-github-com-tdewolff-test)) + (home-page "https://go.tacodewolff.nl/minify") + (synopsis "Go minifiers for web formats") + (description + "This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and +an interface to implement any other minifier.") + (license license:expat))) + (define-public go-github-com-tdewolff-parse-v2 (package (name "go-github-com-tdewolff-parse-v2") |