mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 12:30:38 +02:00
gnu: go-github-com-tdewolff-minify-v2: Update to 2.21.2.
* gnu/packages/golang-web.scm (go-github-com-tdewolff-minify-v2): Update to 2.21.2. [native-inputs]: Add go-github-com-djherbis-atime, go-github-com-fsnotify-fsnotify, go-github-com-matryer-try, and go-github-com-tdewolff-argp. (go-minify) [arguments]: Overwirte them. <tests?>: Disable tests as all of them passed from the inherited library. [inputs]: Remove go-github-com-djherbis-atime, go-github-com-dustin-go-humanize, go-github-com-fsnotify-fsnotify, go-github-com-matryer-try, and go-github-com-spf13-pflag. Change-Id: I70b0259b705137f0937016d9e6fe31aefdc96ecb
This commit is contained in:
parent
5b7db059bd
commit
091bf5af93
1 changed files with 16 additions and 17 deletions
|
@ -6587,7 +6587,7 @@ provided @code{http.FileSystem}.")
|
||||||
(define-public go-github-com-tdewolff-minify-v2
|
(define-public go-github-com-tdewolff-minify-v2
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-tdewolff-minify-v2")
|
(name "go-github-com-tdewolff-minify-v2")
|
||||||
(version "2.12.7")
|
(version "2.21.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -6596,7 +6596,7 @@ provided @code{http.FileSystem}.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0qhslaq885zbqs83nvbi29yh09b89kkb6ycami8lz28wkwrlayap"))))
|
(base32 "0vhblx1xim14i4npglzdp9hpjz92q2k29wbf9kp9m7id9cm7c7l9"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -6611,13 +6611,18 @@ provided @code{http.FileSystem}.")
|
||||||
(format #f "src/~a/~a" import-path dir)
|
(format #f "src/~a/~a" import-path dir)
|
||||||
(make-file-writable "hash.go")
|
(make-file-writable "hash.go")
|
||||||
(format #t "Generating `hash.go' for ~a...~%" dir)
|
(format #t "Generating `hash.go' for ~a...~%" dir)
|
||||||
(invoke "go" "generate")))
|
(invoke "go" "generate" "-v" "-n")))
|
||||||
'("css" "html" "svg")))))))
|
'("css" "html" "svg")))))))
|
||||||
|
;; For tests and the CLI.
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-djherbis-atime
|
||||||
|
go-github-com-fsnotify-fsnotify
|
||||||
|
go-github-com-matryer-try
|
||||||
|
go-github-com-tdewolff-argp
|
||||||
|
go-github-com-tdewolff-hasher ; to generate go files
|
||||||
|
go-github-com-tdewolff-test))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list go-github-com-tdewolff-parse-v2))
|
(list go-github-com-tdewolff-parse-v2))
|
||||||
(native-inputs
|
|
||||||
(list go-github-com-tdewolff-hasher
|
|
||||||
go-github-com-tdewolff-test))
|
|
||||||
(home-page "https://go.tacodewolff.nl/minify")
|
(home-page "https://go.tacodewolff.nl/minify")
|
||||||
(synopsis "Go minifiers for web formats")
|
(synopsis "Go minifiers for web formats")
|
||||||
(description
|
(description
|
||||||
|
@ -7966,17 +7971,11 @@ go-github-com-multiformats-go-multiaddr-dns.")))
|
||||||
(inherit go-github-com-tdewolff-minify-v2)
|
(inherit go-github-com-tdewolff-minify-v2)
|
||||||
(name "go-minify")
|
(name "go-minify")
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments
|
(list
|
||||||
(package-arguments go-github-com-tdewolff-minify-v2)
|
#:install-source? #f
|
||||||
((#:install-source? _ #t) #f)
|
#:tests? #f ; tested in the library
|
||||||
((#:import-path _ "github.com/tdewolff/minify/v2")
|
#:import-path "github.com/tdewolff/minify/cmd/minify"
|
||||||
"github.com/tdewolff/minify/cmd/minify")))
|
#:unpack-path "github.com/tdewolff/minify"))
|
||||||
(inputs
|
|
||||||
(list go-github-com-djherbis-atime
|
|
||||||
go-github-com-dustin-go-humanize
|
|
||||||
go-github-com-fsnotify-fsnotify
|
|
||||||
go-github-com-matryer-try
|
|
||||||
go-github-com-spf13-pflag))
|
|
||||||
(description "This package provides a CLI binary executible built from
|
(description "This package provides a CLI binary executible built from
|
||||||
go-github-com-tdewolff-minify-v2 source.")))
|
go-github-com-tdewolff-minify-v2 source.")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue