diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-08-22 10:55:46 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-08-22 10:55:46 +0100 |
commit | 9964fafffd440bd78152375b93661cc39152c1a2 (patch) | |
tree | 1ab68dd9ca08d7e32a4850778ccae7f1f0f70697 | |
parent | 2c7119b43bd44ee812ceaa2351bff9a8b623a920 (diff) | |
parent | e5911372ccc5482aceaf115bd30ce03dcbe00667 (diff) | |
download | guix-9964fafffd440bd78152375b93661cc39152c1a2.tar.gz guix-9964fafffd440bd78152375b93661cc39152c1a2.zip |
Merge remote-tracking branch 'origin/go-team'
Change-Id: Ie1a29192d144a59394bbacba3f6b9f110413e821
-rw-r--r-- | gnu/packages/golang-build.scm | 44 | ||||
-rw-r--r-- | gnu/packages/golang-web.scm | 48 | ||||
-rw-r--r-- | gnu/packages/golang-xyz.scm | 360 | ||||
-rw-r--r-- | gnu/packages/golang.scm | 288 | ||||
-rw-r--r-- | gnu/packages/messaging.scm | 5 | ||||
-rw-r--r-- | gnu/packages/terminals.scm | 18 | ||||
-rw-r--r-- | gnu/packages/web.scm | 51 |
7 files changed, 464 insertions, 350 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index bc3625c399..a664c53c92 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -199,7 +199,7 @@ semantically equal.") (define-public go-golang-org-x-crypto (package (name "go-golang-org-x-crypto") - (version "0.25.0") + (version "0.26.0") (source (origin (method git-fetch) @@ -208,7 +208,7 @@ semantically equal.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1cnglyy3fhvnnynazfdrikkwcxv3rlxamvfxink2z241lncvwkxy")))) + (base32 "1rc5zl3gxfy4wcwqjibqgnqj8wdm0v9ff25vkyirzb71l343ydlx")))) (build-system go-build-system) (arguments (list @@ -288,7 +288,7 @@ language.") (define-public go-golang-org-x-exp (package (name "go-golang-org-x-exp") - (version "0.0.0-20240613232115-7f521ea00fb8") + (version "0.0.0-20240808152545-0cdaa3abc0fa") (source (origin (method git-fetch) @@ -297,7 +297,7 @@ language.") (commit (go-version->git-ref version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0ccjgv19w5p9sbcq12czmfnkjwv3b7hfljifwax6r9wk4dx0fcn7")) + (base32 "1sa03fm57326qnchvfza7am7jjlz32l1yyqbdvy6mknw5bmp8a71")) (modules '((guix build utils))) (snippet #~(begin @@ -385,7 +385,7 @@ compile does not support generics.") (define-public go-golang-org-x-image (package (name "go-golang-org-x-image") - (version "0.18.0") + (version "0.19.0") (source (origin (method git-fetch) @@ -394,7 +394,7 @@ compile does not support generics.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0d7zwdsg06km24vhx6dzk1w26wpi3yhx9jfkf9jnsp5chv5pzlw3")))) + (base32 "0nb1wvy0xr0s9xylzf336vghkblkp5b9sq2hqh6wdav1awnpry90")))) (build-system go-build-system) (arguments (list @@ -431,7 +431,7 @@ compile does not support generics.") (define-public go-golang-org-x-mod (package (name "go-golang-org-x-mod") - (version "0.19.0") + (version "0.20.0") (source (origin (method git-fetch) @@ -440,7 +440,7 @@ compile does not support generics.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "02wilb8q2bp6qhqcrbjxq1pjy3y5k8p11pxlg481609zx4rjiszc")))) + (base32 "0vrzahgr08idiz9g2ksngwsjhyaa0rryn4vh0lm54kkxgv9pcv7f")))) (build-system go-build-system) (arguments (list @@ -481,7 +481,7 @@ loading algorithms.") (define-public go-golang-org-x-net (package (name "go-golang-org-x-net") - (version "0.27.0") + (version "0.28.0") (source (origin (method git-fetch) @@ -490,7 +490,7 @@ loading algorithms.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0fc6d968yiv2l67z9jg7ssvas1hd1jniqh4m7mmlay0q5gk4vf8s")))) + (base32 "1fh4rnqsxc652lhncnrdb3qcsw811565qb9619z21z0p1fdgzlar")))) (build-system go-build-system) (arguments (list @@ -519,7 +519,7 @@ loading algorithms.") (define-public go-golang-org-x-sync (package (name "go-golang-org-x-sync") - (version "0.7.0") + (version "0.8.0") (source (origin (method git-fetch) @@ -528,7 +528,7 @@ loading algorithms.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "03yq3pnjwqxqy1cvbkaa39ca2b9cli1k5wnz76l3a65n9fafai6q")))) + (base32 "1jssyq49g5z7dbhdb9bnzsb8gigvsy5f4aczbzn5paz07v9wbjxs")))) (build-system go-build-system) (arguments (list @@ -561,7 +561,7 @@ cancelation for groups of goroutines working on subtasks of a common task (define-public go-golang-org-x-sys (package (name "go-golang-org-x-sys") - (version "0.22.0") + (version "0.24.0") (source (origin (method git-fetch) @@ -570,7 +570,7 @@ cancelation for groups of goroutines working on subtasks of a common task (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0kpl5hk0zbh5bfschnq64yj1cs7v3l9v6bd1rw5crlfd4hg7xawa")))) + (base32 "0j5hhwrbgjh5bnwqr9g1c32175j43rqlrpv199ay1b970iwiqd4l")))) (build-system go-build-system) (arguments (list @@ -594,7 +594,7 @@ support for low-level interaction with the operating system.") (define-public go-golang-org-x-term (package (name "go-golang-org-x-term") - (version "0.22.0") + (version "0.23.0") (source (origin (method git-fetch) @@ -603,7 +603,7 @@ support for low-level interaction with the operating system.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0iqh035y65gfm28xp52pnksh49q3nyaz0zrjjj032rs8hv5py75m")))) + (base32 "1pdv60bm4gfvgf98lyms92qm32zc4f4h4w1fagrhzllwflmsca8h")))) (build-system go-build-system) (arguments '(#:import-path "golang.org/x/term")) (propagated-inputs @@ -617,7 +617,7 @@ terminals, as commonly found on Unix systems.") (define-public go-golang-org-x-text (package (name "go-golang-org-x-text") - (version "0.16.0") + (version "0.17.0") (source (origin (method git-fetch) @@ -626,7 +626,7 @@ terminals, as commonly found on Unix systems.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0pmn0i1xbpwvzl4cdgmjqcsk9vckhqrq6699fnr9mkglh4xj3p7a")))) + (base32 "1jqvh4mmg3db2slh5z7fxdhkgazyld5l858rwnbpfxvfrw0k9w1h")))) (build-system go-build-system) (arguments (list @@ -668,7 +668,7 @@ processing.") (define-public go-golang-org-x-time (package (name "go-golang-org-x-time") - (version "0.5.0") + (version "0.6.0") (source (origin (method git-fetch) @@ -677,7 +677,7 @@ processing.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1dahq0p6zn2pd408q6hsv1jl12nqrwd1gkl3r3dysk2q0z16192v")))) + (base32 "14z7f1yx3r393f94yjv09mrsfaydq6da7pswv8wvk327mxa56vw1")))) (build-system go-build-system) (arguments (list @@ -702,7 +702,7 @@ time.") (define-public go-golang-org-x-tools (package (name "go-golang-org-x-tools") - (version "0.23.0") + (version "0.24.0") (source (origin (method git-fetch) @@ -711,7 +711,7 @@ time.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0hr81fr5s39p97m9y3ipma7ryw4nm2246k8ds0flkybzf19mhzbi")) + (base32 "007n9bmhxn2yspvmcdbj8h0l132vhakszv4i0bd65cvravskcw8y")) (modules '((guix build utils))) (snippet '(begin diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index fb601783ba..28eba7f5d2 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1420,7 +1420,7 @@ from CloudFlare's github.com/cloudflare/cfssl/revoke.") (define-public go-github-com-goccy-go-json (package (name "go-github-com-goccy-go-json") - (version "0.10.2") + (version "0.10.3") (source (origin (method git-fetch) @@ -1429,7 +1429,7 @@ from CloudFlare's github.com/cloudflare/cfssl/revoke.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1krid2hlvs808jl9zmv7m6zx92samc60gymhwr2mwwykicwbnks8")) + (base32 "0w9kjplhyzq8n4iainddapzj7dxnfbjiz4xdpb0hlb6h35grpxgn")) (modules '((guix build utils))) (snippet '(delete-file-recursively "benchmarks")))) (build-system go-build-system) @@ -4008,6 +4008,34 @@ Signing and Encryption set of standards. This includes support for JSON Web Encryption, JSON Web Signature, and JSON Web Token standards.") (license license:asl2.0))) +(define-public go-mvdan-cc-xurls + (package + (name "go-mvdan-cc-xurls") + (version "2.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mvdan/xurls") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1516hwlxbnhdca56qy7sx9h2n5askq6ddqpqyp3f5rvmzdkxf4zn")))) + (build-system go-build-system) + (arguments + (list + #:import-path "mvdan.cc/xurls/v2")) + (propagated-inputs + (list go-github-com-rogpeppe-go-internal + go-golang-org-x-mod + go-golang-org-x-sync)) + (home-page "https://mvdan.cc/xurls/v2/") + (synopsis "Extracts URLs from text") + (description + "Xurls extracts urls from plain text using regular expressions. It can +be used as both a binary and a library.") + (license license:bsd-3))) + (define-public go-nhooyr-io-websocket (package (name "go-nhooyr-io-websocket") @@ -4072,6 +4100,22 @@ go-github-com-multiformats-go-multiaddr-dns."))) (description "This package provides a CLI binary executible built from go-github-com-tdewolff-minify-v2 source."))) +(define-public xurls + (package + (inherit go-mvdan-cc-xurls) + (name "xurls") + (arguments + (list + #:import-path "mvdan.cc/xurls/v2/cmd/xurls" + #:unpack-path "mvdan.cc/xurls/v2" + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (delete-file "testdata/script/version.txtar"))))))))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 39f838196d..51b8ca9192 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1,14 +1,15 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017-2020 Leo Famulari <leo@famulari.name> -;;; Copyright © 2018 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2018 Pierre Neidhardt <ambrevar@gmail.com> ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr> +;;; Copyright © 2018, 2020 Christopher Baines <mail@cbaines.net> ;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com> ;;; Copyright © 2019, 2021 Vagrant Cascadian <vagrant@debian.org> ;;; Copyright © 2019-2021 Martin Becze <mjbecze@riseup.net> ;;; Copyright © 2019-2022 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org> +;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> @@ -23,6 +24,7 @@ ;;; Copyright © 2022 (unmatched-parenthesis <paren@disroot.org> ;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev> ;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev> +;;; Copyright © 2022 kiasoc5 <kiasoc5@disroot.org> ;;; Copyright © 2023 Benjamin <benjamin@uvy.fr> ;;; Copyright © 2023 Fries <fries1234@protonmail.com> ;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space> @@ -245,8 +247,7 @@ a human-readable byte format.") (arguments (list #:import-path "git.sr.ht/~emersion/go-scfg")) (propagated-inputs - (list go-github-com-google-shlex - go-github-com-davecgh-go-spew)) + (list go-github-com-davecgh-go-spew)) (home-page "https://git.sr.ht/~emersion/go-scfg") (synopsis "Go library for simple configuration file format") (description @@ -1327,6 +1328,31 @@ marshalling and unmarshalling library in Go. It uses code generation and not reflection.") (license license:expat))) +(define-public go-github-com-charlievieth-fastwalk + (package + (name "go-github-com-charlievieth-fastwalk") + (version "1.0.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/charlievieth/fastwalk") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17zy17q31p8b93bf703rr0xqafp02bb0slkrgpxb8r0aaxz3zg4y")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/charlievieth/fastwalk")) + (home-page "https://github.com/charlievieth/fastwalk") + (synopsis "Fast directory traversal for Golang") + (description + "Package fastwalk provides a faster version of +@url{/path/filepath#@code{WalkDir,filepath.WalkDir}} for file system scanning +tools.") + (license license:expat))) + (define-public go-github-com-cheggaaa-pb (package (name "go-github-com-cheggaaa-pb") @@ -1962,7 +1988,7 @@ scanner API made public.") (define-public go-github-com-elliotchance-orderedmap (package (name "go-github-com-elliotchance-orderedmap") - (version "1.5.1") + (version "1.6.0") (source (origin (method git-fetch) @@ -1971,7 +1997,7 @@ scanner API made public.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "06gq5hsgfmzfr46wds366ghyn16qkygyz83vrsgargf4l7db9zg7")))) + (base32 "1hhyk96l6mfijkay9ga6jqpczpn34fbqkjrqj3v9pf5p1hzd0xdx")))) (build-system go-build-system) (arguments (list #:import-path "github.com/elliotchance/orderedmap")) @@ -1980,10 +2006,29 @@ scanner API made public.") (home-page "https://github.com/elliotchance/orderedmap") (synopsis "Go ordered map library") (description - "This package provides a ordered map library that maintains amortized O(1) -for @code{Set}, @code{Get}, @code{Delete} and @code{Len}.") + "This package provides a ordered map library that maintains amortized +O(1) for @code{Set}, @code{Get}, @code{Delete} and @code{Len}.") (license license:expat))) +(define-public go-github-com-elliotchance-orderedmap-v2 + (package + (inherit go-github-com-elliotchance-orderedmap) + (name "go-github-com-elliotchance-orderedmap-v2") + (version "2.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elliotchance/orderedmap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11bvia6cflq46nzc2hfgikgxyck7wskyi0i7ksy9r0d41l4jh4l9")))) + (arguments + (list + #:import-path "github.com/elliotchance/orderedmap/v2" + #:unpack-path "github.com/elliotchance/orderedmap")))) + (define-public go-github-com-emersion-go-ical (package (name "go-github-com-emersion-go-ical") @@ -2218,7 +2263,7 @@ Alphanum Algorithm} developed by Dave Koelle in Go.") (define-public go-github-com-fatih-color (package (name "go-github-com-fatih-color") - (version "1.16.0") + (version "1.17.0") (source (origin (method git-fetch) @@ -2227,7 +2272,7 @@ Alphanum Algorithm} developed by Dave Koelle in Go.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "15689x103gy9q7g7623rlvhwrw27p079ardapmrrag0sdwrx5bq2")))) + (base32 "07axwr6016xwylxlsrw3cnkg1kg963zqqgf06pc3dgicfg5qrhj2")))) (build-system go-build-system) (arguments (list @@ -2303,7 +2348,7 @@ Representation,CBOR} (@url{https://www.rfc-editor.org/rfc/rfc8949.html,RFC (define-public go-github-com-gabriel-vasile-mimetype (package (name "go-github-com-gabriel-vasile-mimetype") - (version "1.4.4") + (version "1.4.5") (source (origin (method git-fetch) @@ -2312,7 +2357,7 @@ Representation,CBOR} (@url{https://www.rfc-editor.org/rfc/rfc8949.html,RFC (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "199x3zbrs3bca4xc4m66c2fvs4vzywqcfylqx6n14kys0sh1p73b")))) + (base32 "1ris146v7k1x1n4vraq0xzjds0f7jw3scx9mzj8y29hql3sy4nkd")))) (build-system go-build-system) (arguments (list @@ -2440,6 +2485,42 @@ interfaces to back that API. Packages in the Go ecosystem can depend on it, while callers can implement logging with whatever backend is appropriate.") (license license:asl2.0))) +(define-public go-github-com-go-playground-locales + (package + (name "go-github-com-go-playground-locales") + (version "0.14.1") + (home-page "https://github.com/go-playground/locales") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "117nss5gv7rfzr7z40rkpwfr273wv6ahrd3ycqdarxvaxh0ldhh4")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/go-playground/locales")) + (propagated-inputs + (list go-golang-org-x-text)) + (synopsis "Set of locales generated from the CLDR Unicode Project") + (description + "This package provides a set of locales generated from the +@uref{http://cldr.unicode.org/, Unicode CLDR Project} which can be used +independently or within an internalization (i18n) package. Its currently +implemented features include + +@itemize +@item Rules generated from the CLDR data, v31.0.3 +@item Contains Cardinal, Ordinal and Range Plural Rules +@item Contains Month, Weekday and Timezone translations built in +@item Contains Date & Time formatting functions +@item Contains Number, Currency, Accounting and Percent formatting functions +@item Supports the \"Gregorian\" calendar only +@end itemize") + (license license:expat))) + (define-public go-github-com-go-task-slim-sprig (let ((commit "afa1e2071829e4db655eb448d6c7c16eb0bc5766") (revision "0")) @@ -2522,7 +2603,7 @@ the library more lightweight.") (define-public go-github-com-goccy-go-yaml (package (name "go-github-com-goccy-go-yaml") - (version "1.11.3") + (version "1.12.0") (home-page "https://github.com/goccy/go-yaml") (source (origin @@ -2532,7 +2613,7 @@ the library more lightweight.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1rm2rfnlvv704zkb1mnjqv5xx32vfkzv7r2kc8if6gr9ryb7hmbf")))) + (base32 "06sf7vpz8gjyivrn3yhzcbbf3qhsqq5n7lsc23j91xw5xwpn37bk")))) (build-system go-build-system) (arguments (list @@ -3005,6 +3086,29 @@ the C++ ABI defined at https://codesourcery.com/cxx-abi/ and the ABI}.") (license license:bsd-3))) +(define-public go-github-com-itchyny-timefmt-go + (package + (name "go-github-com-itchyny-timefmt-go") + (version "0.1.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/itchyny/timefmt-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ldagirn1wh3klkk1rr96d5b5jbn24aib14x3j73x47cjfqi92wf")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/itchyny/timefmt-go")) + (home-page "https://github.com/itchyny/timefmt-go") + (synopsis "Efficient time formatting library (strftime, strptime) for Golang") + (description + "@code{timefmt-go} is a Go language package for formatting and parsing date +time strings.") + (license license:expat))) + (define-public go-github-com-jbenet-go-random (package (name "go-github-com-jbenet-go-random") @@ -3378,6 +3482,31 @@ very eas to use.") (list #:import-path "github.com/klauspost/cpuid/v2")))) +(define-public go-github-com-kr-pretty + (package + (name "go-github-com-kr-pretty") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kr/pretty") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19d4ycy22il43s4pnr7jv1aahp87wa1p16zpis5jdiiyfgni2l8f")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/kr/pretty")) + (propagated-inputs + (list go-github-com-kr-text go-github-com-rogpeppe-go-internal)) + (home-page "https://github.com/kr/pretty") + (synopsis "Pretty printer for Go values") + (description + "This package provides a pretty printer for Go values.") + (license license:expat))) + (define-public go-github-com-lestrrat-go-envload (package (name "go-github-com-lestrrat-go-envload") @@ -3832,7 +3961,7 @@ whether a file descriptor points to a terminal and the type of the terminal.") (define-public go-github-com-mattn-go-runewidth (package (name "go-github-com-mattn-go-runewidth") - (version "0.0.14") + (version "0.0.16") (source (origin (method git-fetch) @@ -3841,7 +3970,7 @@ whether a file descriptor points to a terminal and the type of the terminal.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1iaqw5pd7f4f2xz37540kp0828p2820g4vxx3hz089hwl331sx1v")))) + (base32 "0d7wbfz1kd3m0a4sx0ijrnbn4kw3bhn6myvnk76s19h8zjvafbrl")))) (build-system go-build-system) (arguments (list @@ -4745,6 +4874,53 @@ memory accessible to the kernel. It does not account for memory used by other processes.") (license license:bsd-3)))) +(define-public go-github-com-pelletier-go-toml + (package + (name "go-github-com-pelletier-go-toml") + (version "1.9.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pelletier/go-toml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wypjrr1axkrkzp4n5gvams94f2sd7dq1pdpd2i35sgpdz6r2m6g")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/pelletier/go-toml")) + (propagated-inputs + (list go-github-com-burntsushi-toml + go-github-com-davecgh-go-spew + go-gopkg-in-yaml-v2)) + (home-page "https://github.com/pelletier/go-toml") + (synopsis "Go library for the TOML configuration language") + (description + "Go library for the TOML configuration language") + (license license:expat))) + +(define-public go-github-com-pelletier-go-toml-v2 + (package + (inherit go-github-com-pelletier-go-toml) + (name "go-github-com-pelletier-go-toml-v2") + (version "2.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pelletier/go-toml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gimgz33yxmvj0nmy56yy7zq4ay8j55ir8pfzmgwga7npgpzspk7")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/pelletier/go-toml/v2")) + (native-inputs + (list go-github-com-stretchr-testify)) + (propagated-inputs '()))) + (define-public go-github-com-pierrec-cmdflag (package (name "go-github-com-pierrec-cmdflag") @@ -4915,6 +5091,65 @@ routines querying a database but without sending too much queries in order to not overload the given database.") (license license:expat))) +(define-public go-github-com-rogpeppe-go-internal + (package + (name "go-github-com-rogpeppe-go-internal") + (version "1.12.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rogpeppe/go-internal") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18szjxqrjjvgsvyjbkqs6xw4bvg5nn1myg5hhb5qzwz5xl4wvw5a")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/rogpeppe/go-internal" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda* (#:key tests? import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (substitute* (find-files "." "\\_test.go$") + (("TestSimple") "OffTestSimple"))))) + ;; XXX: Replace when go-build-system supports nested path. + (delete 'build) + (replace 'check + (lambda* (#:key import-path tests? #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" "./...")))))))) + (propagated-inputs + (list go-golang-org-x-mod + go-golang-org-x-sys + go-golang-org-x-tools)) + (home-page "https://github.com/rogpeppe/go-internal/") + (synopsis "Internal packages from the Go standard library") + (description + "This repository factors out an opinionated selection of internal +packages and functionality from the Go standard library. Currently this +consists mostly of packages and testing code from within the Go tool +implementation. + +Included are the following: +@itemize +@item dirhash: calculate hashes over directory trees the same way that the Go tool does. +@item goproxytest: a GOPROXY implementation designed for test use. +@item gotooltest: Use the Go tool inside test scripts (see testscript below) +@item imports: list of known architectures and OSs, and support for reading import import statements. +@item modfile: read and write go.mod files while preserving formatting and comments. +@item module: module paths and versions. +@item par: do work in parallel. +@item semver: semantic version parsing. +@item testenv: information on the current testing environment. +@item testscript: script-based testing based on txtar files +@item txtar: simple text-based file archives for testing. +@end itemize\n") + (license license:bsd-3))) + (define-public go-github-com-schollz-progressbar-v3 (package (name "go-github-com-schollz-progressbar-v3") @@ -5159,7 +5394,7 @@ Use waterutil with it to work with TUN/TAP packets/frames.") (define-public go-github-com-spf13-cobra (package (name "go-github-com-spf13-cobra") - (version "1.8.0") + (version "1.8.1") (source (origin (method git-fetch) @@ -5168,7 +5403,7 @@ Use waterutil with it to work with TUN/TAP packets/frames.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0mhnqfgcwwcknlhk7n07i02q3iqq6ihksj4dwz296zci8ry3w0d0")))) + (base32 "0brbyy5mc6n2j6m6q1xyswh907vxd3wdzvgaci45swgj0747lcf8")))) (build-system go-build-system) (arguments (list @@ -5205,6 +5440,44 @@ well as a program to generate applications and command files.") (home-page "https://github.com/stathat/go") (license license:expat)))) +(define-public go-github-com-stretchr-objx + (package + (name "go-github-com-stretchr-objx") + (version "0.5.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stretchr/objx") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jcxpfgfpk82lryjkhbd5dy7xzx08d7b9dvbx4bpkmjvn6p339jl")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/stretchr/objx" + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs #:allow-other-keys #:rest args) + (unless + ;; The tests fail when run with gccgo. + (false-if-exception (search-input-file inputs "/bin/gccgo")) + (apply (assoc-ref %standard-phases 'check) args))))))) + (native-inputs + ;; go-spew and go-difflib are to cover testify-bootstrap and not required + ;; for odjx itself. + (list go-github-com-davecgh-go-spew + go-github-com-pmezard-go-difflib + go-github-com-stretchr-testify-bootstrap)) + (home-page "https://github.com/stretchr/objx") + (synopsis "Go package for dealing with maps, slices, JSON and other data") + (description + "This package provides a Go library for dealing with maps, +slices, JSON and other data.") + (license license:expat))) + (define-public go-github-com-syndtr-goleveldb (package (name "go-github-com-syndtr-goleveldb") @@ -5679,6 +5952,48 @@ string. The string can be a string retorned for @code{time.Duration} or a similar string with weeks or days too.") (license license:bsd-3))) +(define-public go-github-com-yuin-gopher-lua + (package + (name "go-github-com-yuin-gopher-lua") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/yuin/gopher-lua") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bvmd6kywbwzcpdqmmk6gjzrc2x4q24q1p25si4sm0s18kfqnmap")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/yuin/gopher-lua" + #:phases + #~(modify-phases %standard-phases + ;; FIXME: "ls" needs to be substituted in _glua-tests/issues.lua and + ;; _lua5.1-tests/files.lua with full path, but attempt was failed: + ;; Throw to key `decoding-error' with args `("peek-char" "input + ;; decoding error" 84 #<input: _lua5.1-tests/files.lua 11>)'. + (add-after 'unpack 'disable-failing-tests + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (substitute* "script_test.go" + ((".issues.lua.*") "") + ((".files.lua.*") "")) + (for-each delete-file + (list "_glua-tests/issues.lua" + "_lua5.1-tests/files.lua")))))))) + (propagated-inputs + (list go-github-com-chzyer-readline)) + (home-page "https://github.com/yuin/gopher-lua") + (synopsis "VM and compiler for Lua in Golang") + (description + "GopherLua is a Lua5.1(+ goto statement in Lua5.2) VM and compiler. It +provides Go APIs that allow you to easily embed a scripting language to your +Go host programs.") + (license license:expat))) + (define-public go-go-etcd-io-bbolt (package (name "go-go-etcd-io-bbolt") @@ -5996,6 +6311,17 @@ values.") ;;; Executables: ;;; +(define-public glua + (package + (inherit go-github-com-yuin-gopher-lua) + (name "glua") + (arguments + (list + #:tests? #f + #:install-source? #f + #:import-path "github.com/yuin/gopher-lua/cmd/glua" + #:unpack-path "github.com/yuin/gopher-lua")))) + (define-public go-chroma (package (name "go-chroma") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 799a7d75ce..aaf60739dc 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2713,42 +2713,6 @@ way of specifying command line options.") (home-page "https://github.com/jessevdk/go-flags") (license license:bsd-3))) -(define-public go-github-com-go-playground-locales - (package - (name "go-github-com-go-playground-locales") - (version "0.13.0") - (home-page "https://github.com/go-playground/locales") - (source - (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0qydcpkvss3mf8mk3xzg6a34n8i69aydrigcl2apifrkx72jw7pf")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/go-playground/locales")) - (propagated-inputs - (list go-golang-org-x-text)) - (synopsis "Set of locales generated from the CLDR Unicode Project") - (description - "This package provides a set of locales generated from the -@uref{http://cldr.unicode.org/, Unicode CLDR Project} which can be used -independently or within an internalization (i18n) package. Its currently -implemented features include - -@itemize -@item Rules generated from the CLDR data, v31.0.3 -@item Contains Cardinal, Ordinal and Range Plural Rules -@item Contains Month, Weekday and Timezone translations built in -@item Contains Date & Time formatting functions -@item Contains Number, Currency, Accounting and Percent formatting functions -@item Supports the \"Gregorian\" calendar only -@end itemize") - (license license:expat))) - (define-public go-github-com-go-playground-universal-translator (package (name "go-github-com-go-playground-universal-translator") @@ -3229,47 +3193,6 @@ developed by the Go team. It provides IDE features to any LSP-compatible editor.") (license license:bsd-3))) -(define-public go-github-com-stretchr-objx - (package - (name "go-github-com-stretchr-objx") - (version "0.4.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/stretchr/objx") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0dygds32qxx6x1x2mmn7msyjr15qi5r70pyzv8dz8cprxq32nzc1")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "vendor"))))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/stretchr/objx" - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs #:allow-other-keys #:rest args) - (unless - ;; The tests fail when run with gccgo. - (false-if-exception (search-input-file inputs "/bin/gccgo")) - (apply (assoc-ref %standard-phases 'check) args))))))) - (propagated-inputs - (list go-github-com-davecgh-go-spew - go-github-com-pmezard-go-difflib)) - (inputs - (list go-github-com-stretchr-testify-bootstrap)) - (home-page "https://github.com/stretchr/objx") - (synopsis "Go package for dealing with maps, slices, JSON and other data") - (description "This package provides a Go library for dealing with maps, -slices, JSON and other data.") - (license license:expat))) - (define-public go-github-com-tevino-abool (let ((commit "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12") @@ -3609,52 +3532,6 @@ updating files, like @command{tail -f}.") (description "Java properties scanner for Go") (license license:bsd-2))) -(define-public go-github-com-pelletier-go-toml - (package - (name "go-github-com-pelletier-go-toml") - (version "1.9.3") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/pelletier/go-toml") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0cqwnvlgs1wgdgjxlwv8j52f7d6syniadr51sjh2fya99m5wzvsn")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/pelletier/go-toml")) - (native-inputs - `(("github.com/BurntSushi/toml" ,go-github-com-burntsushi-toml) - ("github.com/davecgh/go-spew" ,go-github-com-davecgh-go-spew) - ("gopkg.in/yaml.v2" ,go-gopkg-in-yaml-v2))) - (home-page "https://github.com/pelletier/go-toml") - (synopsis "Go library for the TOML configuration language") - (description "Go library for the TOML configuration language") - (license license:expat))) - -(define-public go-github-com-pelletier-go-toml-v2 - (package - (inherit go-github-com-pelletier-go-toml) - (name "go-github-com-pelletier-go-toml-v2") - (version "2.1.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/pelletier/go-toml") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1k0rwg7870f4va7jaavnpwvdn6d76gxgyr7c978bx2h829a9sx2a")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/pelletier/go-toml/v2")) - (native-inputs - (list go-github-com-stretchr-testify)))) - (define-public go-github-com-subosito-gotenv (package (name "go-github-com-subosito-gotenv") @@ -5069,29 +4946,6 @@ have super fancy logs.") format in Go.") (license license:expat)))) -(define-public go-github-com-kr-pretty - (package - (name "go-github-com-kr-pretty") - (version "0.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/kr/pretty") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0vzfz06y9q8gs2nxx0kys0591vzp78k0fvpb8digi5n15h3b25hy")))) - (build-system go-build-system) - (propagated-inputs - (list go-github-com-kr-text)) - (arguments - '(#:import-path "github.com/kr/pretty")) - (synopsis "Pretty printer for Go values") - (description "This package provides a pretty printer for Go values.") - (home-page "https://github.com/kr/pretty") - (license license:expat))) - (define-public go-github-com-kylelemons-godebug (package (name "go-github-com-kylelemons-godebug") @@ -5302,7 +5156,7 @@ systems.") (package (inherit go-github-com-gdamore-tcell) (name "go-github-com-gdamore-tcell") - (version "2.6.0") + (version "2.7.4") (source (origin (method git-fetch) (uri (git-reference @@ -5311,7 +5165,7 @@ systems.") (file-name (git-file-name name version)) (sha256 (base32 - "0126hi8glnfqdx4l9zlh6dhd5f5c8bws7arv9pp4n2kqcnhdc6g2")))) + "05b22sgyf8lnwjddxlfvlj7i8b67gnidhbnz86vvx8fddggpa5nd")))) (arguments (list #:import-path "github.com/gdamore/tcell/v2" #:phases @@ -7008,27 +6862,26 @@ system.") (license license:expat)))) (define-public go-github-com-delthas-go-localeinfo - (let ((commit "686a1e18511819b2f1625f00437f6e1246c04a5d")) - (package - (name "go-github-com-delthas-go-localeinfo") - (version (git-version "0.0.0" "0" commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/delthas/go-localeinfo") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0r0v42ggvyss8327nggwinxl42pj4l0dwz96g9wk1w8h8vmfrh0z")))) - (build-system go-build-system) - (arguments `(#:tests? #f ; FIXME: tests assume certain locale - #:import-path "github.com/delthas/go-localeinfo")) - (home-page "https://github.com/delthas/go-localeinfo") - (synopsis "Library for extracting locale information") - (description "@code{go-localeinfo} extracts monetary/numeric/time + (package + (name "go-github-com-delthas-go-localeinfo") + (version "0.0.0-20240607105203-b2e834fc307d") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/delthas/go-localeinfo") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0817lhic77sz9lxizy2rchwssp0vzl7qxbsfghcddg6ssy1n0zhj")))) + (build-system go-build-system) + (arguments `(#:tests? #f ; FIXME: tests assume certain locale + #:import-path "github.com/delthas/go-localeinfo")) + (home-page "https://github.com/delthas/go-localeinfo") + (synopsis "Library for extracting locale information") + (description "@code{go-localeinfo} extracts monetary/numeric/time formatting information, rather than the current locale name.") - (license license:expat)))) + (license license:expat))) (define-public go-github-com-zalando-go-keyring (package @@ -7087,52 +6940,6 @@ losing type information. The primary intended use is for implementing configuration languages, but other uses may be possible too.") (license license:expat))) -(define-public go-github-com-rogpeppe-go-internal - (package - (name "go-github-com-rogpeppe-go-internal") - (version "1.9.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rogpeppe/go-internal") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0bh08k8fy1qcc0vzyv0xkg0sx5kjx348zd1dpjmp3rbrr6xrpaaw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/rogpeppe/go-internal" - ; Source-only package - #:tests? #f - #:phases - (modify-phases %standard-phases - (delete 'build)))) - (propagated-inputs - (list go-github-com-pkg-diff)) - (home-page "https://github.com/rogpeppe/go-internal/") - (synopsis "Internal packages from the Go standard library") - (description "This repository factors out an opinionated selection of -internal packages and functionality from the Go standard library. Currently -this consists mostly of packages and testing code from within the Go tool -implementation. - -Included are the following: -@itemize -@item dirhash: calculate hashes over directory trees the same way that the Go tool does. -@item goproxytest: a GOPROXY implementation designed for test use. -@item gotooltest: Use the Go tool inside test scripts (see testscript below) -@item imports: list of known architectures and OSs, and support for reading import import statements. -@item modfile: read and write go.mod files while preserving formatting and comments. -@item module: module paths and versions. -@item par: do work in parallel. -@item semver: semantic version parsing. -@item testenv: information on the current testing environment. -@item testscript: script-based testing based on txtar files -@item txtar: simple text-based file archives for testing. -@end itemize\n") - (license license:bsd-3))) - (define-public go-gopkg-in-errgo-fmt-errors (package (name "go-gopkg-in-errgo-fmt-errors") @@ -7508,52 +7315,6 @@ That is, @code{gofumpt} is happy with a subset of the formats that (native-inputs '()) (inputs '()))) -(define-public xurls - (package - (name "xurls") - (version "2.4.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/mvdan/xurls") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0b040nbk1vwlk1qljavh8w8fn2r243q700n6gr8j2asmnz0xq84p")))) - (build-system go-build-system) - (arguments - `(#:import-path "mvdan.cc/xurls/v2" - #:unpack-path "mvdan.cc/xurls/v2" - #:phases (modify-phases %standard-phases - (replace 'build - (lambda arguments - (apply (assoc-ref %standard-phases - 'build) - `(,@arguments #:import-path - "mvdan.cc/xurls/v2/cmd/xurls"))))))) - (inputs (list go-golang-org-x-sync go-github-com-rogpeppe-go-internal)) - (home-page "https://mvdan.cc/xurls/v2/") - (synopsis "Extracts URLs from text") - (description - "Xurls extracts urls from plain text using regular expressions. It can -be used as both a binary and a library.") - (license license:bsd-3))) - -(define-public go-mvdan-cc-xurls - (package - (inherit xurls) - (name "go-mvdan-cc-xurls") - (arguments - `(#:import-path "mvdan.cc/xurls" - #:tests? #f - #:install-source? #t - #:phases (modify-phases %standard-phases - (delete 'build)))) - (propagated-inputs (package-inputs xurls)) - (native-inputs '()) - (inputs '()))) - (define-public go-github-com-davecgh-go-xdr (package (name "go-github-com-davecgh-go-xdr") @@ -8186,6 +7947,9 @@ production-ready implementation, compatible with the original Jsonnet C++ implementation.") (license license:asl2.0))) +;; XXX: This repository has been archived by the owner on Dec 29, 2022. It is +;; now read-only. It's only used by kiln, consider to remove it when it does +;; no longer require it. (define-public go-github-com-google-shlex (package (name "go-github-com-google-shlex") @@ -8365,7 +8129,7 @@ text-only mail clients to display them.") (define-public go-github-com-creack-pty (package (name "go-github-com-creack-pty") - (version "1.1.18") + (version "1.1.23") (source (origin (method git-fetch) (uri (git-reference @@ -8374,7 +8138,7 @@ text-only mail clients to display them.") (file-name (git-file-name name version)) (sha256 (base32 - "1qqhcgfym0napz8damj7dhfw28g2qn2f5h3lr93i0sxawq926yzc")))) + "1chx7ml9wlpk8pzgnnxb97gblmxz1j1v37m5i1asb94l5c24r1fg")))) (build-system go-build-system) (arguments (list #:import-path "github.com/creack/pty" diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 7eab1213ab..fa74b50f26 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -94,6 +94,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-web) #:use-module (gnu packages golang-xyz) #:use-module (gnu packages gperf) #:use-module (gnu packages graphviz) @@ -3589,7 +3590,7 @@ a text snippet), using @code{libphonenumber}.") (method git-fetch) (uri (git-reference - (url "https://git.sr.ht/~taiite/senpai") + (url "https://git.sr.ht/~delthas/senpai") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -3627,7 +3628,7 @@ a text snippet), using @code{libphonenumber}.") go-golang-org-x-time go-mvdan-cc-xurls scdoc)) - (home-page "https://sr.ht/~taiite/senpai") + (home-page "https://sr.ht/~delthas/senpai") (synopsis "Modern terminal IRC client") (description "@code{senpai} is an IRC client that works best with bouncers.") diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index f3e9e0c6d9..7b99b9672e 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1019,30 +1019,28 @@ programmer to write text-based user interfaces.") (define-public go-github-com-junegunn-fzf (package (name "go-github-com-junegunn-fzf") - (version "0.41.0") + (version "0.54.3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/junegunn/fzf") - (commit version))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "1l9nsvziip3azyvg8wi4g3x606fh6w9vpfcbcgjdzdnp2ywqciim")))) + "0mdj3z7w2igkvy8r304k9rcr2l6xm459ifshdm55iy6mazd8cmci")))) (build-system go-build-system) (arguments `(#:import-path "github.com/junegunn/fzf")) (inputs - (list go-github-com-mattn-go-runewidth - go-github-com-mattn-go-shellwords + (list go-github-com-charlievieth-fastwalk + go-github-com-gdamore-tcell-v2 go-github-com-mattn-go-isatty - go-github-com-gdamore-tcell + go-github-com-mattn-go-shellwords go-github-com-rivo-uniseg - go-github-com-saracen-walker - go-golang-org-x-sync - go-golang-org-x-term - go-golang-org-x-crypto)) + go-golang-org-x-sys + go-golang-org-x-term)) (home-page "https://github.com/junegunn/fzf") (synopsis "Command-line fuzzy-finder") (description "This package provides an interactive command-line filter diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 8028f1e977..b237143684 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5434,7 +5434,7 @@ you'd expect.") (define-public go-github-com-mikefarah-yq-v4 (package (name "go-github-com-mikefarah-yq-v4") - (version "4.34.2") + (version "4.44.3") (source (origin (method git-fetch) (uri (git-reference @@ -5443,7 +5443,7 @@ you'd expect.") (file-name (git-file-name name version)) (sha256 (base32 - "0y5i0p4fiq0kad9xqihhyclhd9d3l2r5yligdkvsdc90hlqjmql3")))) + "0s7c8r6y5jv6wda2v3k47hawfdr9j3rwk717l6byvh5qsbbml0vd")))) (build-system go-build-system) (arguments (list #:import-path "github.com/mikefarah/yq/v4" @@ -5456,6 +5456,7 @@ you'd expect.") (propagated-inputs (list go-github-com-a8m-envsubst go-github-com-alecthomas-participle-v2 + go-github-com-alecthomas-repr go-github-com-dimchansky-utfbom go-github-com-elliotchance-orderedmap go-github-com-fatih-color @@ -5464,7 +5465,10 @@ you'd expect.") go-github-com-jinzhu-copier go-github-com-magiconair-properties go-github-com-pelletier-go-toml-v2 + go-github-com-pkg-diff go-github-com-spf13-cobra + go-github-com-spf13-pflag + go-github-com-yuin-gopher-lua go-golang-org-x-net go-golang-org-x-text go-gopkg-in-op-go-logging-v1 @@ -5494,53 +5498,30 @@ JSON, XML, properties, CSV and TSV.") (propagated-inputs '()) (inputs (package-propagated-inputs go-github-com-mikefarah-yq-v4)))) -(define-public go-github-com-itchyny-timefmt-go +(define-public go-github-com-itchyny-gojq (package - (name "go-github-com-itchyny-timefmt-go") - (version "0.1.4") + (name "go-github-com-itchyny-gojq") + (version "0.12.16") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/itchyny/timefmt-go") + (url "https://github.com/itchyny/gojq") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0z5z8hy5lbjqdxp544mf238i77n7pf7bv3psgr5gffh0630dsyag")))) + (base32 "0favs281iaq98cmqwf47amk12xpksznpwgfid24z8migkp8628wl")))) (build-system go-build-system) (arguments - (list #:import-path "github.com/itchyny/timefmt-go")) - (home-page "https://github.com/itchyny/timefmt-go") - (synopsis "Efficient time formatting library (strftime, strptime) for Golang") - (description - "@code{timefmt-go} is a Go language package for formatting and parsing date -time strings.") - (license license:expat))) - -(define-public go-github-com-itchyny-gojq - (package - (name "go-github-com-itchyny-gojq") - (version "0.12.11") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/itchyny/gojq") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1dqmnxnipi497nx9x10ifack09w41579svryss5q2w5wxy0pg764")))) - (build-system go-build-system) + (list + #:import-path "github.com/itchyny/gojq/cmd/gojq" + #:unpack-path "github.com/itchyny/gojq")) (inputs (list go-github-com-google-go-cmp go-github-com-itchyny-timefmt-go go-github-com-mattn-go-isatty go-github-com-mattn-go-runewidth go-gopkg-in-yaml-v3)) - (arguments - (list - #:import-path "github.com/itchyny/gojq/cmd/gojq" - #:unpack-path "github.com/itchyny/gojq")) (home-page "https://github.com/itchyny/gojq") (synopsis "Pure Go implementation of jq") (description @@ -9018,7 +8999,7 @@ in mind. It has features such as: (define-public kiln (package (name "kiln") - (version "0.4.0") + (version "0.4.1") (source (origin (method git-fetch) (uri (git-reference @@ -9027,7 +9008,7 @@ in mind. It has features such as: (file-name (git-file-name name version)) (sha256 (base32 - "1lvzv46hn80gffw47mcc28iahwqng7pvg500s9jlrq6mhr4k5ih4")))) + "1ynb079jsyv6viwdksavwar5lqj84ssfw39dl5da98z683xrvch5")))) (build-system go-build-system) (arguments (list |