Subject: [bug#61946] [PATCH 5/6] gnu: Add go-github-com-tdewolff-minify-v2.

From: Thomas Ieong <[email-masked]>
Date: Sat, 4 Mar 2023 00:01:58 +0100

* gnu/packages/golang.scm (go-github-com-tdewolff-minify-v2): New variable.
---
 gnu/packages/golang.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c4426d2a4f..de5c0847f6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9716,6 +9716,37 @@ (define-public go-github-com-tdewolff-test
 fail after N consecutive reads/writes.")
     (license license:expat)))
 
+(define-public go-github-com-tdewolff-minify-v2
+  (package
+    (name "go-github-com-tdewolff-minify-v2")
+    (version "2.12.4")
+    (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
+                "1bbygm8x68xxgqgjzqfwak06212lalsz4aq4dg9z5yjq1c3hp3ji"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/tdewolff/minify/v2"))
+    (propagated-inputs (list go-github-com-tdewolff-test
+                             go-github-com-tdewolff-parse-v2
+                             go-github-com-spf13-pflag
+                             go-github-com-matryer-try
+                             go-github-com-fsnotify-fsnotify
+                             go-github-com-dustin-go-humanize
+                             go-github-com-djherbis-atime
+                             go-github-com-cheekybits-is))
+    (home-page "https://github.com/tdewolff/minify")
+    (synopsis "Go minifiers for web formats")
+    (description
+     "Package minify relates MIME type to minifiers.  Several minifiers are provided
+in the subpackages.")
+    (license license:expat)))
+
 (define-public go-github-com-hashicorp-go-syslog
   (package
     (name "go-github-com-hashicorp-go-syslog")
-- 
2.39.1