diff options
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 1497 |
1 files changed, 321 insertions, 1176 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d9145e9ac4..799a7d75ce 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -951,7 +951,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (package (inherit go-1.21) (name "go") - (version "1.22.2") + (version "1.22.5") (source (origin (method git-fetch) @@ -960,7 +960,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (commit (string-append "go" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0p6v5dl4mzlrma6v1a26d8zr4csq5mm10d9sdhl3kn9d22vphql1")))) + (base32 "1ahcxhyfr4wa4yahpl1jzdr1pizp5xpa6cy96jz649zsp21640d9")))) (arguments (substitute-keyword-arguments (package-arguments go-1.21) ((#:phases phases) @@ -985,7 +985,10 @@ in the style of communicating sequential processes (@dfn{CSP}).") (list go-1.21) (package-native-inputs go-1.21))))) -(define-public go go-1.17) +;; +;; Default Golang version used in guix/build-system/go.scm to build packages. +;; +(define-public go go-1.21) (define make-go-std (mlambdaq (go) @@ -1120,39 +1123,6 @@ cluster segmentation algorithm.") '(#:unpack-path "github.com/apparentlymart/go-textseg/autoversion" #:import-path "github.com/apparentlymart/go-textseg/autoversion/textseg")))) -(define-public go-github-com-avast-retry-go - (let ((commit "a322e24d96313ab405dec28ad5711f036c6d25a3") - (revision "0")) - (package - (name "go-github-com-avast-retry-go") - (version (git-version "2.4.2" revision commit)) - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/avast/retry-go") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0hb4b1668516a4gv8avmflr565b6c1h93phdb068hcjxxj8767ba")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/avast/retry-go" - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-examples - (lambda* (#:key import-path #:allow-other-keys) - (delete-file-recursively - (string-append "src/" import-path "/examples"))))))) - (propagated-inputs (list go-github-com-stretchr-testify)) - (home-page "https://github.com/avast/retry-go") - (synopsis "Simple golang library for retry mechanism") - (description "This package is a simple Go library that provides retry -functionality for functions that may fail. It includes various customizable -retry strategies, such as fixed delay, backoff delay, and random delay.") - (license license:expat)))) - (define-public go-github-com-operatorfoundation-shapeshifter-transports (package (name "go-github-com-operatorfoundation-shapeshifter-transports") @@ -1734,32 +1704,32 @@ retry strategies, such as fixed delay, backoff delay, and random delay.") (description "Set is the set collection for the Go language.") (license license:expat))) -(define-public go-github-com-dhowett-go-plist - (let ((commit "1454fab16a0642638feb0ae98c41f79eccb2a20a") - (revision "1")) - (package - (name "go-github-com-dhowett-go-plist") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/DHowett/go-plist") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "01c9wmhny2rxywcjipq1xa0xw4qm7yd001239grwxcja3b4n45v8")))) - (build-system go-build-system) - (arguments `(#:import-path "howett.net/plist")) - (inputs - (list go-github-com-jessevdk-go-flags go-github-com-kr-pretty - go-gopkg-in-check-v1 go-gopkg-in-yaml-v2)) - (home-page "https://github.com/DHowett/go-plist") - (synopsis "Apple property list transcoder") - (description "This list transcoder supports encoding/decoding property -lists (Apple XML, Apple Binary, OpenStep, and GNUStep) from/to arbitrary Go -types.") - (license license:giftware)))) +(define-public go-howett-net-plist + (package + (name "go-howett-net-plist") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DHowett/go-plist") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gcrxkmdj87xq01458asgxvvijrkih74ydbzfmir1p16xr9z0x39")))) + (build-system go-build-system) + (arguments + (list + #:import-path "howett.net/plist")) + (propagated-inputs + (list go-github-com-jessevdk-go-flags + go-gopkg-in-check-v1)) + (home-page "https://github.com/DHowett/go-plist") + (synopsis "Apple property list transcoder") + (description + "This list transcoder supports encoding/decoding property lists (Apple +XML, Apple Binary, OpenStep, and GNUStep) from/to arbitrary Go types.") + (license license:giftware))) (define-public go-github-com-blanu-dust (package @@ -2227,7 +2197,6 @@ Go.") (arguments `(#:unpack-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird" #:import-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/cmd/lyrebird" - #:go ,go-1.20 #:phases (modify-phases %standard-phases (add-after 'unpack 'substitutions @@ -2602,7 +2571,8 @@ mouse, and terminal resizing events.") (base32 "07d5kxz0f8ss3v46y0c8jg02sagi0wlaaijhjzzp0r462jyzqii7")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/golangplus/fmt")) + '(#:tests? #f ; failing with new Golang compiler. + #:import-path "github.com/golangplus/fmt")) (synopsis "Additions to Go's standard @code{fmt} package") (description "This package provides additions to Go's stdlib @code{fmt}.") (license license:bsd-3))) @@ -2880,7 +2850,6 @@ web framework "0zff0qpqfzwa4xazppiq7jvpncnmx52m23qi4ih754b7rzhbk0iz")))) (arguments (list - #:go go-1.21 #:import-path "github.com/go-playground/validator/v10")) (propagated-inputs (modify-inputs (package-propagated-inputs @@ -3046,9 +3015,9 @@ termination.") "t.Fatalf(`Killf(\"BO%%s"))))))) (home-page "https://gopkg.in/tomb.v1"))) -(define-public go-github.com-jtolds-gls +(define-public go-github-com-jtolds-gls (package - (name "go-github.com-jtolds-gls") + (name "go-github-com-jtolds-gls") (version "4.20") (source (origin (method git-fetch) @@ -3152,49 +3121,45 @@ command-line parsers.") (home-page "https://github.com/tj/docopt") (license license:expat))) -(define-public govulncheck +(define-public go-golang-org-x-vuln (package - (name "govulncheck") - (version "0.0.0-20221229164908-ebf31f7dc3ef") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/vuln") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1w055g90k7anrrcvfrsqklxzl9pl0vqdiwpayj9f0brwys9xhj7d")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/vuln" - #:go ,go-1.19 - #:install-source? #f - #:phases ,#~(modify-phases %standard-phases - (add-after 'unpack 'remove-go-mod-tidy - (lambda _ - (substitute* "src/golang.org/x/vuln/checks.bash" - (("go mod tidy") - #$(file-append coreutils-minimal "/bin/true"))))) - (replace 'build - (lambda arguments - (apply (assoc-ref %standard-phases - 'build) - `(,@arguments #:import-path - "golang.org/x/vuln/cmd/govulncheck"))))))) - (native-inputs (list coreutils-minimal)) - (inputs (list go-golang-org-x-sys - go-github-com-google-renameio - go-github-com-burntsushi-toml - go-mvdan-cc-unparam - go-honnef-co-go-tools - go-golang-org-x-tools - go-golang-org-x-sync - go-golang-org-x-mod - go-golang-org-x-exp - go-github-com-google-go-cmp-cmp - go-github-com-google-go-cmdtest - go-github-com-client9-misspell)) + (name "go-golang-org-x-vuln") + ;; XXX: Newer version of govulncheck requires golang.org/x/telemetry, + ;; which needs to be discussed if it may be included in Guix. + (version "0.0.0-20230110180137-6ad3e3d07815") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/vuln") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fhz27ni8bs872rgvqq700qacak9v45zy0fh2hilq21sk6dks72r")))) + (build-system go-build-system) + (arguments + (list + #:tests? #f ; it tires to download modules from the network + #:import-path "golang.org/x/vuln" + #:phases + #~(modify-phases %standard-phases + ;; XXX: Workaround for go-build-system's lack of Go modules support. + (delete 'build) + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" + "./doc/..." + "./internal/..." + "./scan/...")))))))) + (propagated-inputs + (list go-github-com-google-go-cmdtest + go-github-com-google-go-cmp + go-golang-org-x-exp + go-golang-org-x-mod + go-golang-org-x-sync + go-golang-org-x-tools)) (home-page "https://golang.org/x/vuln") (synopsis "Go Vulnerability Management") (description @@ -3202,58 +3167,60 @@ command-line parsers.") the @url{https://vuln.go.dev,Go Vulnerability Database}.") (license license:bsd-3))) -(define-public go-golang-org-x-vuln +(define-public govulncheck (package - (inherit govulncheck) - (name "go-golang-org-x-vuln") + (inherit go-golang-org-x-vuln) + (name "govulncheck") (arguments - `(#:import-path "golang.org/x/vuln" - #:tests? #f - #:install-source? #t - #:phases (modify-phases %standard-phases - (delete 'build)))) - (propagated-inputs (package-inputs govulncheck)) - (native-inputs '()) - (inputs '()))) + (list + #:tests? #f + #:install-source? #f + #:import-path "golang.org/x/vuln/cmd/govulncheck" + #:unpack-path "golang.org/x/vuln")) + (native-inputs + (list coreutils-minimal)))) (define-public gopls (package (name "gopls") - (version "0.12.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/tools") - (commit (string-append "gopls/v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "04bq7rh6d6mgxm0lsi8y9v1x7cgx4nvjlsyvxl89r6rcqh3n1lfb")))) + ;; XXX: Starting from 0.14.0 gppls needs golang.org/x/telemetry, which + ;; needs to be discussed if it may be included in Guix. + (version "0.13.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://go.googlesource.com/tools") + (commit (string-append "gopls/v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qym2c0xvv6vcgwh0kz8sw094r88lzrl08xpvmg08lrqi00ma6kx")))) (build-system go-build-system) (arguments - `(#:import-path "golang.org/x/tools/gopls" - #:unpack-path "golang.org/x/tools" - #:install-source? #f - #:phases (modify-phases %standard-phases - (add-before 'unpack 'override-tools - (lambda _ - (delete-file-recursively "src/golang.org/x/tools")))))) - (propagated-inputs (list go-github-com-google-go-cmp-cmp - go-github-com-jba-printsrc - go-github-com-jba-templatecheck - go-github-com-sergi-go-diff - go-golang-org-x-mod - go-golang-org-x-sync - go-golang-org-x-sys - go-golang-org-x-text - go-gopkg-in-yaml-v3 - go-honnef-co-go-tools - go-github-com-burntsushi-toml - go-github-com-google-safehtml - go-golang-org-x-exp - go-mvdan-cc-gofumpt - go-golang-org-x-vuln - go-mvdan-cc-xurls)) + (list + #:install-source? #f + #:import-path "golang.org/x/tools/gopls" + #:unpack-path "golang.org/x/tools" + #:phases + #~(modify-phases %standard-phases + (add-before 'unpack 'override-tools + (lambda _ + (delete-file-recursively "src/golang.org/x/tools")))))) + (native-inputs + (list go-github-com-google-go-cmp + go-github-com-jba-printsrc + go-github-com-jba-templatecheck + go-github-com-sergi-go-diff + go-golang-org-x-mod + go-golang-org-x-sync + go-golang-org-x-sys + go-golang-org-x-text + go-golang-org-x-tools + go-golang-org-x-vuln + go-gopkg-in-yaml-v3 + go-honnef-co-go-tools + go-mvdan-cc-gofumpt + go-mvdan-cc-xurls)) (home-page "https://golang.org/x/tools/gopls") (synopsis "Official language server for the Go language") (description @@ -3262,60 +3229,6 @@ developed by the Go team. It provides IDE features to any LSP-compatible editor.") (license license:bsd-3))) -(define-public go-golang-org-x-oauth2 - (let ((commit "0f29369cfe4552d0e4bcddc57cc75f4d7e672a33") - (revision "1")) - (package - (name "go-golang-org-x-oauth2") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/oauth2") - (commit commit))) - (file-name (string-append "go.googlesource.com-oauth2-" - version "-checkout")) - (sha256 - (base32 - "06jwpvx0x2gjn2y959drbcir5kd7vg87k0r1216abk6rrdzzrzi2")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/x/oauth2")) - (propagated-inputs - (list go-cloud-google-com-go-compute-metadata - go-golang-org-x-net)) - (home-page "https://go.googlesource.com/oauth2") - (synopsis "Client implementation of the OAuth 2.0 spec") - (description "This package contains a client implementation for OAuth 2.0 - spec in Go.") - (license license:bsd-3)))) - -(define-public go-github-com-jpillora-backoff - (let ((commit - "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d") - (revision "0")) - (package - (name "go-github-com-jpillora-backoff") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jpillora/backoff") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0xhvxr7bm47czdc5hy3kl508z3y4j91i2jm7vg774i52zych6k4l")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/jpillora/backoff")) - (home-page "https://github.com/jpillora/backoff") - (synopsis "Simple exponential backoff counter in Go") - (description "This package is a simple exponential backoff counter in -Go.") - (license license:expat)))) - (define-public go-github-com-stretchr-objx (package (name "go-github-com-stretchr-objx") @@ -3357,30 +3270,6 @@ Go.") slices, JSON and other data.") (license license:expat))) -(define-public go-github-com-technoweenie-multipartstreamer - (package - (name "go-github-com-technoweenie-multipartstreamer") - (version "1.0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/technoweenie/multipartstreamer") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "159jhcabdkds8m5777zfs8p5z3snpjhzz7q9aq9wjpcvh6xlljqa")))) - (build-system go-build-system) - (arguments - (list #:tests? #f ; Upstream tests are broken. - #:import-path "github.com/technoweenie/multipartstreamer")) - (home-page "https://github.com/technoweenie/multipartstreamer") - (synopsis "MIME multipart format streamer") - (description - "This package helps you encode large files in MIME multipart format -without reading the entire content into memory.") - (license license:expat))) - (define-public go-github-com-tevino-abool (let ((commit "3c25f2fe7cd0ef3eabefce1d90efd69a65d35b12") @@ -3610,6 +3499,7 @@ GNU extensions} to the POSIX recommendations for command-line options.") (define-public go-github-com-spf13-viper (package (name "go-github-com-spf13-viper") + ;; Refreshing to a newer version requires long chain of missing packages. (version "1.7.0") (source (origin @@ -3624,6 +3514,7 @@ GNU extensions} to the POSIX recommendations for command-line options.") (build-system go-build-system) (arguments (list + #:tests? #f #:import-path "github.com/spf13/viper")) (propagated-inputs (list go-github-com-fsnotify-fsnotify @@ -3651,7 +3542,7 @@ all types of configuration needs and formats.") (define-public go-github-com-fsnotify-fsnotify (package (name "go-github-com-fsnotify-fsnotify") - (version "1.4.9") + (version "1.7.0") (source (origin (method git-fetch) @@ -3661,7 +3552,7 @@ all types of configuration needs and formats.") (file-name (git-file-name name version)) (sha256 (base32 - "1i1r72knpbfwwql9frn9bqc3nhfc2ai5m6qllcyr6wban62lr40x")))) + "1h7vs21lkj4bqbw5a6mqykaf56y181r0nja7c8pzajkvbsc39y8m")))) (build-system go-build-system) (arguments `(#:import-path "github.com/fsnotify/fsnotify")) @@ -3791,7 +3682,7 @@ updating files, like @command{tail -f}.") (define-public go-github-com-sirupsen-logrus (package (name "go-github-com-sirupsen-logrus") - (version "1.9.0") + (version "1.9.3") (source (origin (method git-fetch) @@ -3801,7 +3692,7 @@ updating files, like @command{tail -f}.") (file-name (git-file-name name version)) (sha256 (base32 - "12i402dxq5js4npnncg043vx874h6nk4ffn4gswcccxrp6h10ivz")))) + "1jz7nyq88i9fwfpp7krl046q62kjn6lb9j4r932bxnpypl1hwc49")))) (build-system go-build-system) (arguments (list @@ -4089,30 +3980,6 @@ which satisfies the cron expression.") (license (list license:gpl3+ license:asl2.0))))) -(define-public go-gopkg-in-ini-v1 - (package - (name "go-gopkg-in-ini-v1") - (version "1.56.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-ini/ini") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0j5z0cngg6mq2f9id083jcdi7k6r2h35714pashv6sdv2q7bmfc5")))) - (build-system go-build-system) - (arguments - '(#:import-path "gopkg.in/ini.v1" - ;; Requires large unpackaged test framework - #:tests? #f)) - (home-page "https://gopkg.in/ini.v1") - (synopsis "Go library for ini files") - (description "Go library for ini files") - (license license:asl2.0))) - (define-public go-gopkg-in-yaml-v3 (package (name "go-gopkg-in-yaml-v3") @@ -4779,7 +4646,7 @@ cross-compilation.") (define-public go-github-com-mitchellh-mapstructure (package (name "go-github-com-mitchellh-mapstructure") - (version "1.1.2") ;; NOTE: Updating to 1.3.1 breaks tests on viper-1.7.0 + (version "1.5.0") (source (origin (method git-fetch) @@ -4789,7 +4656,7 @@ cross-compilation.") (file-name (git-file-name name version)) (sha256 (base32 - "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr")))) + "10f2v143lkip8h46shd99k5yavfqpgqmd7a6y42v7szc0lcn3mff")))) (build-system go-build-system) (arguments `(#:import-path "github.com/mitchellh/mapstructure")) @@ -5276,7 +5143,7 @@ representation suitable for computing diffs.") (define-public go-github-com-go-sql-driver-mysql (package (name "go-github-com-go-sql-driver-mysql") - (version "1.5.0") + (version "1.8.1") (source (origin (method git-fetch) @@ -5286,11 +5153,13 @@ representation suitable for computing diffs.") (file-name (git-file-name name version)) (sha256 (base32 - "11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v")))) + "0ihdqg411gkv454fwx8w5nbndgkm5dz5phfliksxgmhggyxxm7sn")))) (build-system go-build-system) (arguments '(#:tests? #f ;; tests require a network connection #:import-path "github.com/go-sql-driver/mysql")) + (propagated-inputs + (list go-filippo-io-edwards25519)) (home-page "https://github.com/go-sql-driver/mysql") (synopsis "MySQL driver for golang") (description @@ -5323,9 +5192,6 @@ It stores colors in RGB and provides methods for converting these to various color spaces.") (license license:expat))) -(define-public go-golang-org-colorful - (deprecated-package "go-golang-org-colorful" go-github-com-lucasb-eyer-go-colorful)) - (define-public go-github-com-gdamore-encoding (package (name "go-github-com-gdamore-encoding") @@ -5627,6 +5493,8 @@ designed to clean up raw terminal output by stripping escape sequences, optionally preserving color.") (license license:expat))) +;; XXX: This repository has been archived by the owner on Dec 1, 2021. It is +;; now read-only. (define-public go-github-com-pkg-errors (package (name "go-github-com-pkg-errors") @@ -5643,15 +5511,11 @@ optionally preserving color.") (build-system go-build-system) (arguments (list - #:import-path "github.com/pkg/errors" - #: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))))))) + ;; Tests fail with a newer version of Golang (1.21) due to some API + ;; changes in how the module path is calculated which is not reflected + ;; in tests. + #:tests? #f + #:import-path "github.com/pkg/errors")) (synopsis "Go error handling primitives") (description "This package provides @code{error}, which offers simple error handling primitives in Go.") @@ -5731,266 +5595,6 @@ a cron spec parser and job runner.") "This is a fork of another go-libvterm library for use with aerc.") (license license:expat)))) -(define-public go-github-com-emersion-go-imap - (package - (name "go-github-com-emersion-go-imap") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-imap") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ak2ysvfcc9w0g1070msis8x9sh6gzvf0nd65ks594siwbmqddw8")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-imap")) - (propagated-inputs (list go-golang-org-x-text - go-github-com-emersion-go-sasl - go-github-com-emersion-go-message)) - (home-page "https://github.com/emersion/go-imap") - (synopsis "IMAP4rev1 library written in Go") - (description - "This package provides an IMAP4rev1 library written in Go. It -can be used to build IMAP clients and servers.") - (license license:expat))) - -(define-public go-github-com-emersion-go-imap-sortthread - (package - (name "go-github-com-emersion-go-imap-sortthread") - (version "1.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-imap-sortthread") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1cfbgz1l5angnj52v9pxwggai2shx0h78ffcp7j4r4lr7lzflnwz")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-imap-sortthread")) - (propagated-inputs (list go-golang-org-x-text - go-github-com-emersion-go-sasl - go-github-com-emersion-go-imap)) - (home-page "https://github.com/emersion/go-imap-sortthread") - (synopsis "Sorting and threading of messages for the imap package") - (description - "The sortthread package implements message sorting and threading for -@code{go-github-com-emersion-go-imap}.") - (license license:expat))) - -(define-public go-github-com-emersion-go-smtp - (package - (name "go-github-com-emersion-go-smtp") - (version "0.15.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-smtp") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1vhc0vpjd4yhxk6wrh01sdpi7nprjn98s46yy82xwlkm0cskl0h7")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-smtp")) - (propagated-inputs (list go-github-com-emersion-go-sasl)) - (home-page "https://github.com/emersion/go-smtp") - (synopsis "SMTP implementation for Go") - (description - "This package implements the Simple Mail Transfer Protocol as -defined by RFC 5321.") - (license license:expat))) - -(define-public go-github-com-emersion-go-sasl - (let ((commit "0b9dcfb154ac3d7515b08bc2691a0332800edfe9") - (revision "1")) - (package - (name "go-github-com-emersion-go-sasl") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-sasl") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1cbf86wkqrdinfydndgdlnayg4a5mg3d4vqra377j2sfkg7wj0hs")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-sasl")) - (home-page "https://github.com/emersion/go-sasl") - (synopsis "SASL library written in Go") - (description "This package provides a SASL library written in Go.") - (license license:expat)))) - -(define-public go-github-com-emersion-go-imap-idle - (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9") - (revision "0")) - (package - (name "go-github-com-emersion-go-imap-idle") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-imap-idle") - (commit commit))) - (sha256 - (base32 - "0blwcadmxgqsdwgr9m4jqfbpfa2viw5ah19xbybpa1z1z4aj5cbc")) - (file-name (git-file-name name version)))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/emersion/go-imap-idle")) - (native-inputs - (list go-github-com-emersion-go-imap go-github-com-emersion-go-sasl - go-golang-org-x-text)) - (home-page "https://github.com/emersion/go-imap-idle") - (synopsis "IDLE extension for go-imap") - (description "This package provides an IDLE extension for go-imap.") - (license license:expat)))) - -(define-public go-github-com-emersion-go-maildir - (package - (name "go-github-com-emersion-go-maildir") - (version "0.3.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-maildir") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1rs9kbacjpcza25pmdkbm7sdm7r6gq4g44nihi9asyrvspx96zf2")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-maildir")) - (home-page "https://github.com/emersion/go-maildir") - (synopsis "Maildir interface for Go") - (description - "This package provides an interface to mailboxes in the Maildir -format.") - (license license:expat))) - -(define-public go-github-com-emersion-go-milter - (package - (name "go-github-com-emersion-go-milter") - (version "0.3.3") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-milter") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "10vpry5gjz2bh9qchcx4p59zm7cc6cb6bfkii2n6vsn4svb950sa")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-milter")) - (propagated-inputs (list go-github-com-emersion-go-message)) - (home-page "https://github.com/emersion/go-milter") - (synopsis "Milter mail filters in Go") - (description - "This package provides an interface for implementing milter mail -filters for Go.") - (license license:bsd-2))) - -(define-public go-github-com-emersion-go-msgauth - (package - (name "go-github-com-emersion-go-msgauth") - (version "0.6.6") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-msgauth") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ds8yr4cm9wigcxg1sxc2m0wmy4z9n6gws3mj50dmf2ayij69z9j")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-msgauth" - #:tests? #f ; Source-only package. - #:phases - #~(modify-phases %standard-phases - ;; Source-only package. - (delete 'build)))) - (propagated-inputs (list go-golang-org-x-crypto - go-github-com-emersion-go-milter - go-github-com-emersion-go-message)) - (home-page "https://github.com/emersion/go-msgauth") - (synopsis "Email authentication for Go") - (description - "This package provides a Go library for authenticating emails.") - (license license:expat))) - -(define-public go-github-com-emersion-go-mbox - (package - (name "go-github-com-emersion-go-mbox") - (version "1.0.3") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-mbox") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0vnadh2khx7sxn0irrd8gz8ra02x7ij0q8zglq3rqffqil06nliv")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-mbox")) - (home-page "https://github.com/emersion/go-mbox") - (synopsis "Go library for handling @code{mbox} files") - (description - "This package provides a library for parsing and formatting -@code{mbox} files.") - (license license:expat))) - -(define-public go-github-com-google-go-cmp-cmp - (package - (name "go-github-com-google-go-cmp-cmp") - (version "0.5.9") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/google/go-cmp") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0a13m7l1jrysa7mrlmra8y7n83zcnb23yjyg3a609p8i9lxkh1wm")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/google/go-cmp/cmp" - #:unpack-path "github.com/google/go-cmp" - #: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))))))) - (synopsis "Determine equality of values in Go") - (description - "This package is intended to be a more powerful and safer -alternative to @@code{reflect.DeepEqual} for comparing whether two values are -semantically equal.") - (home-page "https://github.com/google/go-cmp") - (license license:bsd-3))) - (define-public go-github-com-google-uuid (package (name "go-github-com-google-uuid") @@ -6140,7 +5744,7 @@ create or replace a file or symbolic link.") (define-public go-gotest-tools-internal-format (package (inherit (go-gotest-tools-package "internal/format")) (native-inputs - (list go-github-com-pkg-errors go-github-com-google-go-cmp-cmp)) + (list go-github-com-pkg-errors go-github-com-google-go-cmp)) (synopsis "Formats messages for use with gotest-tools") (description "This package provides a way to format messages for use with gotest-tools."))) @@ -6165,7 +5769,7 @@ with gotest-tools."))) (false-if-exception (search-input-file inputs "/bin/gccgo")) (apply (assoc-ref %standard-phases 'check) args)))))))) (native-inputs - (list go-github-com-pkg-errors go-github-com-google-go-cmp-cmp)) + (list go-github-com-pkg-errors go-github-com-google-go-cmp)) (synopsis "Source code AST formatters for gotest-tools") (description "This package provides source code AST formatters for gotest-tools."))) @@ -6178,7 +5782,7 @@ gotest-tools."))) #:import-path "gotest.tools/assert" #:unpack-path "gotest.tools")) (propagated-inputs - (list go-github-com-google-go-cmp-cmp + (list go-github-com-google-go-cmp go-github-com-pkg-errors go-github-com-spf13-pflag go-golang-org-x-tools)) @@ -6213,14 +5817,14 @@ test when a comparison fails.") go-github-com-jonboulle-clockwork go-golang-org-x-crypto go-gotest-tools-assert - go-github-com-google-go-cmp-cmp + go-github-com-google-go-cmp ;; TODO: This would be better as a propagated-input of ;; go-gotest-tools-assert, but that does not work for ;; some reason. go-gotest-tools-internal-format go-gotest-tools-internal-difflib go-gotest-tools-internal-source - go-github-com-google-go-cmp-cmp)) + go-github-com-google-go-cmp)) (synopsis "Go test runner with output optimized for humans") (description "This package provides a @code{go test} runner with output optimized for humans, JUnit XML for CI integration, and a summary of the @@ -6228,79 +5832,6 @@ test results.") (home-page "https://github.com/gotestyourself/gotestsum") (license license:asl2.0))) -(define-public go-github-com-golang-protobuf - (package - (name "go-github-com-golang-protobuf") - (version "1.5.3") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/golang/protobuf") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "03f1w2cd4s8a3xhl61x7yjx81kbzlrjpvnnwmbhqnz814yi7h43i")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/golang/protobuf" - #:phases - #~(modify-phases %standard-phases - ;; XXX: Workaround for go-build-system's lack of Go modules - ;; support. - (delete 'build) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) - (propagated-inputs - (list go-google-golang-org-protobuf)) - (synopsis "Go support for Protocol Buffers") - (description "This package provides Go support for the Protocol Buffers -data serialization format.") - (home-page "https://github.com/golang/protobuf") - (license license:bsd-3))) - -(define-public go-google-golang-org-protobuf - (package - (name "go-google-golang-org-protobuf") - (version "1.31.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://go.googlesource.com/protobuf") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1xf18kzz96hgfy1vlbnydrizzpxkqj2iamfdbj3dx5a1zz5mi8n0")))) - (build-system go-build-system) - (arguments - (list #:go go-1.21 - #:import-path "google.golang.org/protobuf" - #:phases - #~(modify-phases %standard-phases - ;; XXX: Workaround for go-build-system's lack of Go modules - ;; support. - (delete 'build) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "go" "test" "-v" "./...")))))))) - (propagated-inputs (list go-github-com-google-go-cmp-cmp)) - (home-page "https://google.golang.org/protobuf") - (synopsis "Go library for Protocol Buffers") - (description - "The protobuf package provides a Go implementation of Protocol Buffers, a -language and platform neutral, extensible mechanism for serializing structured -data. - -This package is a successor to @code{go-github-com-golang-protobuf} with an -improved and cleaner API.") - (license license:bsd-3))) - (define-public go-github-com-macronut-go-tproxy (package (name "go-github-com-macronut-go-tproxy") @@ -6349,13 +5880,10 @@ efficient space usage.") (home-page "https://github.com/bits-and-blooms/bitset") (license license:bsd-3))) -(define-public go-github-com-willf-bitset - (deprecated-package "go-github-com-willf-bitset" go-github-com-bits-and-blooms-bitset)) - -(define-public go-github-com-bits-and-blooms-bloom +(define-public go-github-com-bits-and-blooms-bloom-v3 (package - (name "go-github-com-bits-and-blooms-bloom") - (version "3.6.0") + (name "go-github-com-bits-and-blooms-bloom-v3") + (version "3.7.0") (source (origin (method git-fetch) (uri (git-reference @@ -6364,20 +5892,10 @@ efficient space usage.") (file-name (git-file-name name version)) (sha256 (base32 - "02rpjlgl7k3755qnlsk519xazgqlk73b8wvkpqlvccywms5w77bq")))) + "022pyzjp862ysl30aj105i2xmapn400ambjh8h1dcyjy9c0f8agn")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/bits-and-blooms/bloom" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-import-path - (lambda _ - ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for - ;; more information. - ;; <https://github.com/spaolacci/murmur3/issues/29> - (substitute* "src/github.com/bits-and-blooms/bloom/bloom.go" - (("spaolacci") "twmb")) - #t))))) + (list #:import-path "github.com/bits-and-blooms/bloom")) (propagated-inputs (list go-github-com-twmb-murmur3 go-github-com-bits-and-blooms-bitset)) (synopsis "Bloom filters in Go") @@ -6386,9 +5904,6 @@ based on murmurhash.") (home-page "https://github.com/bits-and-blooms/bitset") (license license:bsd-2))) -(define-public go-github-com-willf-bloom - (deprecated-package "go-github-com-willf-bloom" go-github-com-bits-and-blooms-bloom)) - (define-public go-golang-org-rainycape-unidecode (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c") (revision "1")) @@ -6706,120 +6221,46 @@ matching and globbing with support for \"doublestar\" patterns.") (list #:import-path "github.com/bmatcuk/doublestar/v4")))) -(define-public go-github-com-alecthomas-colour +(define-public go-github-com-muesli-reflow (package - (name "go-github-com-alecthomas-colour") - (version "0.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alecthomas/colour") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "10zbm12j40ppia4b5ql2blmsps5jhh5d7ffphxx843qk7wlbqnjb")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/alecthomas/colour")) - (native-inputs - (list go-github-com-mattn-go-isatty)) - (home-page "https://github.com/alecthomas/colour/") - (synopsis "Colour terminal text for Go") - (description "Package colour provides Quake-style colour formatting for -Unix terminals. - -The package level functions can be used to write to stdout (or strings or -other files). If stdout is not a terminal, colour formatting will be -stripped.") - (license license:expat))) - -(define-public go-github-com-alecthomas-repr - (package - (name "go-github-com-alecthomas-repr") + (name "go-github-com-muesli-reflow") (version "0.3.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alecthomas/repr") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1zq30b36vvg4kzxkff64gjwvcjaw0d13dqzfjfai66hkh3ijdzwl")))) - (build-system go-build-system) - (arguments - `(#:go ,go-1.18 - #:import-path "github.com/alecthomas/repr")) - (native-inputs - (list go-github-com-stretchr-testify)) - (home-page "https://github.com/alecthomas/repr/") - (synopsis "Represent Go values in an almost direct form") - (description "This package attempts to represent Go values in a form that -can be used almost directly in Go source code.") - (license license:expat))) - -(define-public go-github-com-muesli-reflow-wordwrap - (package - (name "go-github-com-muesli-reflow-wordwrap") - (version "0.3.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/muesli/reflow") - (commit (string-append "v" version)))) - (file-name (git-file-name "go-github-com-muesli-reflow" version)) - (sha256 - (base32 - "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/muesli/reflow") + (commit (string-append "v" version)))) + (file-name (git-file-name "go-github-com-muesli-reflow" version)) + (sha256 + (base32 "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/muesli/reflow/wordwrap" - #:unpack-path "github.com/muesli/reflow")) - (native-inputs + (list + #:import-path "github.com/muesli/reflow" + #:phases + #~(modify-phases %standard-phases + ;; XXX: Workaround for go-build-system's lack of Go modules + ;; support. + (delete 'build) + (replace 'check + (lambda* (#:key tests? import-path #:allow-other-keys) + (when tests? + (with-directory-excursion (string-append "src/" import-path) + (invoke "go" "test" "-v" "./...")))))))) + (propagated-inputs (list go-github-com-mattn-go-runewidth)) (home-page "https://github.com/muesli/reflow/") (synopsis "Collection of methods helping to transform blocks of text") - (description "This package provides a collection of ANSI-aware methods and -io.Writers helping you to transform blocks of text.") + (description + "This package provides a collection of ANSI-aware methods and io.Writers +helping you to transform blocks of text.") (license license:expat))) -(define-public go-github-com-muesli-reflow-ansi - (package - (inherit go-github-com-muesli-reflow-wordwrap) - (name "go-github-com-muesli-reflow-ansi") - (arguments - `(#:import-path "github.com/muesli/reflow/ansi" - #:unpack-path "github.com/muesli/reflow")))) - -(define-public go-github-com-muesli-reflow-indent - (package - (inherit go-github-com-muesli-reflow-wordwrap) - (name "go-github-com-muesli-reflow-indent") - (arguments - `(#:import-path "github.com/muesli/reflow/indent" - #:unpack-path "github.com/muesli/reflow")))) - -(define-public go-github-com-muesli-reflow-padding - (package - (inherit go-github-com-muesli-reflow-wordwrap) - (name "go-github-com-muesli-reflow-padding") - (arguments - `(#:import-path "github.com/muesli/reflow/padding" - #:unpack-path "github.com/muesli/reflow")))) - -(define-public go-github-com-muesli-reflow-truncate - (package - (inherit go-github-com-muesli-reflow-wordwrap) - (name "go-github-com-muesli-reflow-truncate") - (arguments - `(#:import-path "github.com/muesli/reflow/truncate" - #:unpack-path "github.com/muesli/reflow")))) - (define-public go-github-com-muesli-termenv (package (name "go-github-com-muesli-termenv") - (version "0.8.1") + (version "0.15.2") (source (origin (method git-fetch) (uri (git-reference @@ -6828,15 +6269,16 @@ io.Writers helping you to transform blocks of text.") (file-name (git-file-name name version)) (sha256 (base32 - "0m24ljq1nq7z933fcvg99fw0fhxj9rb5ll4rlay7z2f2p59mrbdp")))) + "19yhli6k79aqpra4djp0cl4q76mqxbc1f7in20y0dzhnjb7yz42p")))) (build-system go-build-system) (arguments `(#:import-path "github.com/muesli/termenv")) - (native-inputs - (list go-github-com-google-goterm + (propagated-inputs + (list go-github-com-aymanbagabas-go-osc52-v2 go-github-com-lucasb-eyer-go-colorful go-github-com-mattn-go-isatty - go-github-com-mattn-go-runewidth)) + go-github-com-mattn-go-runewidth + go-golang-org-x-sys)) (home-page "https://github.com/muesli/termenv/") (synopsis "Advanced styling options on the terminal") (description "termenv lets you safely use advanced styling options on the @@ -6914,7 +6356,7 @@ size of the terminal.") (define-public go-github-com-charmbracelet-glamour (package (name "go-github-com-charmbracelet-glamour") - (version "0.2.0") + (version "0.7.0") (source (origin (method git-fetch) (uri (git-reference @@ -6923,43 +6365,56 @@ size of the terminal.") (file-name (git-file-name name version)) (sha256 (base32 - "1idq8d13rp1hx2a1xak31fwl9fmi09p2x4ymvzl7aj850saw5w0z")))) + "073kyx94r9f0hpjv5c3x9pfdd3dbpyqcy7jhx4yxz0ps25j1a41p")))) (build-system go-build-system) (arguments - (list #:import-path "github.com/charmbracelet/glamour" - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'patch-tests - (lambda _ - ;; Some tests fail due to different number of '^[0m' symbols at - ;; the beginning and the end of paragraphs. To fix that we - ;; re-generate 'readme.test' so the test output will match the - ;; 'readme.test' contents. - (chmod "src/github.com/charmbracelet/glamour/testdata/readme.test" - #o644) - (substitute* "src/github.com/charmbracelet/glamour/glamour_test.go" - ((" generate = false") - " generate = true"))))))) - (native-inputs - (list go-github-com-alecthomas-chroma - go-github-com-danwakefield-fnmatch - go-github-com-dlclark-regexp2 + (list + #:import-path "github.com/charmbracelet/glamour" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda _ + ;; Some tests fail due to different number of '^[0m' symbols at + ;; the beginning and the end of paragraphs. To fix that we + ;; re-generate 'readme.test' so the test output will match the + ;; 'readme.test' contents. + (chmod "src/github.com/charmbracelet/glamour/testdata/readme.test" + #o644) + (substitute* "src/github.com/charmbracelet/glamour/glamour_test.go" + ((" generate = false") + " generate = true")))) + ;; FIXME: Pattern embedded: cannot embed directory embedded: + ;; contains no embeddable files. + ;; + ;; This happens due to Golang can't determine the valid directory of + ;; the module which is sourced during setup environment phase, but + ;; easy resolved after coping to expected directory "vendor" within + ;; the current package, see details in Golang source: + ;; + ;; - URL: <https://github.com/golang/go/blob/> + ;; - commit: 82c14346d89ec0eeca114f9ca0e88516b2cda454 + ;; - file: src/cmd/go/internal/load/pkg.go#L2059 + (add-before 'build 'copy-input-to-vendor-directory + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (mkdir "vendor") + (copy-recursively + (string-append + #$(this-package-input "go-github-com-alecthomas-chroma-v2") + "/src/github.com") + "vendor/github.com")))) + (add-before 'install 'remove-vendor-directory + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (delete-file-recursively "vendor"))))))) + (propagated-inputs + (list go-github-com-alecthomas-chroma-v2 go-github-com-microcosm-cc-bluemonday - go-github-com-chris-ramon-douceur - go-github-com-aymerick-douceur - go-github-com-gorilla-css - go-github-com-muesli-reflow-ansi - go-github-com-muesli-reflow-wordwrap - go-github-com-muesli-reflow-indent - go-github-com-muesli-reflow-padding - go-github-com-mattn-go-runewidth + go-github-com-muesli-reflow go-github-com-muesli-termenv - go-github-com-google-goterm - go-github-com-lucasb-eyer-go-colorful - go-github-com-mattn-go-isatty go-github-com-olekukonko-tablewriter go-github-com-yuin-goldmark - go-golang-org-x-net)) + go-github-com-yuin-goldmark-emoji)) (home-page "https://github.com/charmbracelet/glamour/") (synopsis "Write handsome command-line tools with glamour") (description "@code{glamour} lets you render markdown documents and @@ -7405,9 +6860,9 @@ and @code{ioutil} packages that is easy to test.") @code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.") (license license:expat))) -(define-public go-github-com-twpayne-go-xdg +(define-public go-github-com-twpayne-go-xdg-v3 (package - (name "go-github-com-twpayne-go-xdg") + (name "go-github-com-twpayne-go-xdg-v3") (version "3.1.0") (source (origin (method git-fetch) @@ -7575,97 +7030,6 @@ system.") formatting information, rather than the current locale name.") (license license:expat)))) -(define-public go-github-com-prometheus-common - (package - (name "go-github-com-prometheus-common") - (version "0.45.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/common") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "006y6mlxglr2xzmdqxl5bwh899whfx1prcgjai7qhhs5ys5dspy5")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/common" - #:tests? #f - #:phases - (modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) - (propagated-inputs - (list go-github-com-golang-protobuf - go-github-com-matttproud-golang-protobuf-extensions-v2 - go-github-com-prometheus-client-model)) - (synopsis "Prometheus metrics") - (description "This package provides tools for reading and writing -Prometheus metrics.") - (home-page "https://github.com/prometheus/common") - (license license:asl2.0))) - -(define-public go-github-com-prometheus-procfs - (package - (name "go-github-com-prometheus-procfs") - (version "0.0.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/procfs") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z5jq5rjala0a0di4nwk1rai0z9f73qwqj6mgcbpjbg2qknlb544")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/procfs" - ;; The tests require Go modules, which are not yet supported in Guix's - ;; Go build system. - #:tests? #f)) - (propagated-inputs (list go-golang-org-x-sync)) - (synopsis "Go library for reading @file{/proc}") - (description "The @code{procfs} Go package provides functions to retrieve -system, kernel, and process metrics from the @file{/proc} pseudo file system.") - (home-page "https://github.com/prometheus/procfs") - (license license:asl2.0))) - -(define-public go-github-com-prometheus-client-golang - (package - (name "go-github-com-prometheus-client-golang") - (version "1.17.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/client_golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1v8vdvi9wlpf18nxi62diysfnh9gc3c3cqq6hvx378snsvvl6n82")))) - (build-system go-build-system) - (arguments - '(#:tests? #f - #:import-path "github.com/prometheus/client_golang" - #:phases - (modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) - (propagated-inputs - (list go-github-com-beorn7-perks-quantile - go-github-com-golang-protobuf - go-github-com-prometheus-client-model - go-github-com-prometheus-common - go-github-com-prometheus-procfs - go-github-com-cespare-xxhash)) - (synopsis "HTTP server and client tools for Prometheus") - (description "This package @code{promhttp} provides HTTP client and -server tools for Prometheus metrics.") - (home-page "https://github.com/prometheus/client_golang") - (license license:asl2.0))) - (define-public go-github-com-zalando-go-keyring (package (name "go-github-com-zalando-go-keyring") @@ -7683,7 +7047,7 @@ server tools for Prometheus metrics.") (arguments `(#:tests? #f ;XXX: Fix dbus tests #:import-path "github.com/zalando/go-keyring")) - (native-inputs + (propagated-inputs (list go-github-com-godbus-dbus dbus)) (home-page "https://github.com/zalando/go-keyring/") (synopsis "Library for working with system keyring") @@ -7709,7 +7073,7 @@ deleting secrets from the system keyring.") '(#:unpack-path "github.com/zclconf/go-cty" #:import-path "github.com/zclconf/go-cty/cty")) (native-inputs - (list go-github-com-google-go-cmp-cmp)) + (list go-github-com-google-go-cmp)) (propagated-inputs (list go-golang-org-x-text go-github-com-vmihailenco-msgpack-v4 @@ -7850,34 +7214,6 @@ is unchanged. This package contains a series of small enhancements and additions.") (license license:bsd-3)))) -(define-public go-golang-zx2c4-com-wireguard - (package - (name "go-golang-zx2c4-com-wireguard") - (version "0.0.20211016") - (source - (origin - (method git-fetch) - ;; NOTE: module URL is a redirect - ;; target: git.zx2c4.com/wireguard-go - ;; source: golang.zx2c4.com/wireguard - (uri (git-reference - (url "https://git.zx2c4.com/wireguard-go/") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "09a4gsh75a8bj71wr042afrma9frriqp60cm0cx6c9a8lv5yzzi0")))) - (build-system go-build-system) - (arguments - '(#:import-path "golang.zx2c4.com/wireguard")) - (propagated-inputs - (list go-golang-org-x-crypto go-golang-org-x-net go-golang-org-x-sys - go-golang-org-x-text)) - (home-page "https://git.zx2c4.com/wireguard") - (synopsis "Implementation of WireGuard in Go") - (description "This package is a Go Implementation of WireGuard.") - (license license:expat))) - (define-public go-github-com-kardianos-minwinsvc (package (name "go-github-com-kardianos-minwinsvc") @@ -7904,49 +7240,6 @@ systems can import this package to enable running programs as services without modifying them.") (license license:zlib))) -(define-public go-github-com-goccy-yaml - (package - (name "go-github-com-goccy-yaml") - (version "1.11.3") - (home-page "https://github.com/goccy/go-yaml") - (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 "1rm2rfnlvv704zkb1mnjqv5xx32vfkzv7r2kc8if6gr9ryb7hmbf")))) - (build-system go-build-system) - (arguments - (list - #:go go-1.18 - #:import-path "github.com/goccy/go-yaml" - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-benchmarks - (lambda* (#:key import-path #:allow-other-keys) - (delete-file-recursively - (string-append "src/" import-path "/benchmarks"))))))) - (propagated-inputs - (list go-github-com-fatih-color go-golang-org-x-xerrors)) - (native-inputs - (list go-github-com-go-playground-validator-v10 - go-github-com-google-go-cmp-cmp)) - (synopsis "YAML support for the Go language") - (description - "This package provides features beyond the -@uref{https://github.com/go-yaml/yaml, defacto YAML library} including: - -@itemize -@item Pretty format for error notifications -@item Support Scanner or Lexer or Parser as public API -@item Support Anchor and Alias to Marshaler -@item Allow referencing elements declared in another file via anchors -@item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath) -@end itemize") - (license license:expat))) - (define-public go-github-com-tekwizely-go-parsing (let ((commit "1548cfb17df54d365ce9febed0677c06a40a8ceb") (revision "0")) @@ -8139,8 +7432,7 @@ Gemini clients and servers.") fixed-version)))))) (build-system go-build-system) (arguments - `(#:import-path "mvdan.cc/gofumpt" - #:go ,go-1.19)) + `(#:import-path "mvdan.cc/gofumpt")) (native-inputs (list go-gopkg-in-errgo-fmt-errors)) (propagated-inputs (list go-github-com-pkg-diff go-github-com-kr-text @@ -8150,7 +7442,7 @@ Gemini clients and servers.") go-golang-org-x-sync go-golang-org-x-mod go-github-com-rogpeppe-go-internal - go-github-com-google-go-cmp-cmp + go-github-com-google-go-cmp go-github-com-frankban-quicktest)) (home-page "https://mvdan.cc/gofumpt/") (synopsis "Formats Go files with a stricter ruleset than gofmt") @@ -8177,7 +7469,7 @@ That is, @code{gofumpt} is happy with a subset of the formats that (define-public unparam (package (name "unparam") - (version "0.0.0-20221223090309-7455f1af531d") + (version "0.0.0-20240528143540-8a5130ca722f") (source (origin (method git-fetch) (uri (git-reference @@ -8186,13 +7478,16 @@ That is, @code{gofumpt} is happy with a subset of the formats that (file-name (git-file-name name version)) (sha256 (base32 - "0wynf0b32azxljncw5fh9bwkxpdflvf9q1z16wyj432566yjh12c")))) + "0qrwszcmb5slbzkq3acw57b896z22zwkv6cf6ldxwlc6p179g009")))) (build-system go-build-system) (arguments - `(#:import-path "mvdan.cc/unparam" - #:go ,go-1.19)) - (inputs (list go-golang-org-x-sys go-golang-org-x-mod - go-github-com-pkg-diff go-golang-org-x-tools + `(;; FIXME: <...>-go-1.21.5/lib/go/src/runtime/cgo/cgo.go:33:8: could not + ;; import C (no metadata for C) + ;; <...>-go-1.21.5/lib/go/src/net/cgo_linux.go:12:8: could not import C + ;; (no metadata for C) + #:tests? #f + #:import-path "mvdan.cc/unparam")) + (inputs (list go-github-com-pkg-diff go-golang-org-x-tools go-github-com-rogpeppe-go-internal)) (home-page "https://mvdan.cc/unparam/") (synopsis "Find unused parameters in Go") @@ -8308,36 +7603,6 @@ friendly sizes. It converts boring ugly numbers to human-friendly strings and back.") (license license:expat))) -(define-public go-github-com-oneofone-xxhash - (package - (name "go-github-com-oneofone-xxhash") - (version "1.2.8") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/OneOfOne/xxhash") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0f98qk83l2fhpclvrgyxsa9b8m4pipf11fah85bnjl01wy4lvybw")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/OneOfOne/xxhash" - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-benchmarks - (lambda* (#:key import-path #:allow-other-keys) - (delete-file-recursively - (string-append "src/" import-path "/benchmarks"))))))) - (home-page "https://github.com/OneOfOne/xxhash") - (synopsis "Go implementation of xxHash") - (description "This is a native Go implementation of the -@url{https://github.com/Cyan4973/xxHash, xxHash} algorithm, an extremely fast -non-cryptographic hash algorithm, working at speeds close to RAM limits.") - (license license:asl2.0))) - (define-public go-gopkg-in-djherbis-times-v1 (package (name "go-gopkg-in-djherbis-times-v1") @@ -8468,7 +7733,7 @@ parser.") (define-public go-github-com-rivo-uniseg (package (name "go-github-com-rivo-uniseg") - (version "0.2.0") + (version "0.4.7") (source (origin (method git-fetch) @@ -8477,7 +7742,7 @@ parser.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0j7h22vfmjj562vr8gpsyrkrwp1pq9ayh5fylv24skxb467g9f0q")))) + (base32 "0nlcqyvq4vhq3hqhk84h6fp0jbqkjj88kcpcl853yr7sh4sisdxc")))) (build-system go-build-system) (arguments '(#:import-path "github.com/rivo/uniseg")) (home-page "https://github.com/rivo/uniseg") @@ -8515,11 +7780,9 @@ parser.") `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty) ("github.com/muesli/termenv" ,go-github-com-muesli-termenv) ("github.com/mattn/go-runewidth" ,go-github-com-mattn-go-runewidth) - ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent) - ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi) + ("go-github-com-muesli-reflow" ,go-github-com-muesli-reflow) ("go-github-com-lucasb-eyer-go-colorful" ,go-github-com-lucasb-eyer-go-colorful) ("github.com/containerd/console" ,go-github-com-containerd-console) - ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate) ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-golang-org-x-sys" ,go-golang-org-x-sys) ("go-golang-org-x-term" ,go-golang-org-x-term) @@ -8574,15 +7837,26 @@ dependencies and a simple API.") "06ay82gqm3k649m7x0r3a3crnqv9x0yxhyqfabrf1b7inki35mfs")))) (build-system go-build-system) (arguments - (list #:import-path "github.com/Arceliar/ironwood" - #:go go-1.21 - #:tests? #f - #:phases - #~(modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) + (list + #:import-path "github.com/Arceliar/ironwood" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (delete-file-recursively + (string-append "src/" import-path "/cmd/ironwood-example")))) + ;; 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-crypto go-github-com-arceliar-phony)) + (list go-github-com-arceliar-phony + go-github-com-bits-and-blooms-bitset + go-github-com-bits-and-blooms-bloom-v3 + go-golang-org-x-crypto)) (home-page "https://github.com/Arceliar/ironwood") (synopsis "Experimental network routing library") (description @@ -8618,76 +7892,68 @@ be useful for other network applications.") (home-page "https://github.com/mtibben/percent") (license license:expat))) -(define-public go-github-com-percent - (deprecated-package "go-github-com-percent" go-github-com-mtibben-percent)) - (define-public aws-vault (package (name "aws-vault") - (version "6.6.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/99designs/aws-vault") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fjdslg7nhlm9hl7bg69j1izrjx6sspbhwk973d0m8ig9nkdja06")))) + (version "7.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/99designs/aws-vault") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dqg6d2k8r80ww70afghf823z0pijha1i0a0c0c6918yb322zkj2")))) (build-system go-build-system) + (arguments + (list + #:install-source? #f + #:import-path "github.com/99designs/aws-vault" + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'patch-version + (lambda _ + (substitute* "src/github.com/99designs/aws-vault/main.go" + (("var Version = \"dev\"") + (string-append "var Version = \"v" #$version "\""))))) + (add-after 'build 'contrib + (lambda* (#:key import-path #:allow-other-keys) + (let* ((zsh-site-dir + (string-append #$output "/share/zsh/site-functions")) + (bash-completion-dir + (string-append #$output "/share/bash-completion/completions")) + (fish-completion-dir + (string-append #$output "/share/fish/completions"))) + (for-each mkdir-p (list bash-completion-dir + fish-completion-dir + zsh-site-dir)) + (with-directory-excursion + (string-append "src/" import-path "/contrib/completions") + (copy-file "zsh/aws-vault.zsh" + (string-append zsh-site-dir "/_aws-vault")) + (copy-file "bash/aws-vault.bash" + (string-append bash-completion-dir "/aws-vault")) + (copy-file "fish/aws-vault.fish" + (string-append fish-completion-dir "/aws-vault.fish"))))))))) (native-inputs - (list go-github-com-99designs-go-keyring - go-github-com-mtibben-androiddnsfix - go-github-com-mtibben-percent - go-github-com-jmespath-go-jmespath - go-github-com-dvsekhvalnov-jose2go - go-github-com-godbus-dbus - go-github-com-gsterjov-go-libsecret - go-github-com-mitchellh-go-homedir - go-golang-org-x-crypto - go-golang-org-x-sys - go-golang-org-x-term - go-gopkg-in-ini - go-github-com-skratchdot-open-golang - go-github-com-alecthomas-kingpin - go-github-com-alecthomas-template - go-github-com-alecthomas-units + (list go-github-com-99designs-keyring + go-github-com-alecthomas-kingpin-v2 go-github-com-aws-aws-sdk-go-v2 go-github-com-aws-aws-sdk-go-v2-config + go-github-com-aws-aws-sdk-go-v2-credentials go-github-com-aws-aws-sdk-go-v2-service-iam go-github-com-aws-aws-sdk-go-v2-service-sso go-github-com-aws-aws-sdk-go-v2-service-ssooidc - go-github-com-aws-aws-sdk-go-v2-service-sts)) - (arguments - `(#:import-path "github.com/99designs/aws-vault" - #:install-source? #f - #:phases - (modify-phases %standard-phases - (add-before 'build 'patch-version - (lambda _ - (substitute* "src/github.com/99designs/aws-vault/main.go" - (("var Version = \"dev\"") - (string-append "var Version = \"v" ,version "\""))))) - (add-after 'build 'contrib - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (zsh-site-dir (string-append out "/share/zsh/site-functions")) - (bash-completion-dir - (string-append out "/share/bash-completion/completions")) - (fish-completion-dir - (string-append out "/share/fish/completions"))) - (for-each mkdir-p - `(,zsh-site-dir ,bash-completion-dir ,fish-completion-dir)) - (with-directory-excursion - "src/github.com/99designs/aws-vault/contrib/completions" - (copy-file "zsh/aws-vault.zsh" - (string-append zsh-site-dir "/_aws-vault")) - (copy-file "bash/aws-vault.bash" - (string-append bash-completion-dir "/aws-vault")) - (copy-file "fish/aws-vault.fish" - (string-append fish-completion-dir "/aws-vault.fish"))))))))) - (synopsis - "Vault for securely storing and accessing AWS credentials") + go-github-com-aws-aws-sdk-go-v2-service-sts + go-github-com-google-go-cmp + go-github-com-mattn-go-isatty + go-github-com-mattn-go-tty + go-github-com-skratchdot-open-golang + go-golang-org-x-term + go-gopkg-in-ini-v1)) + (home-page "https://github.com/99designs/aws-vault") + (synopsis "Vault for securely storing and accessing AWS credentials") (description "AWS Vault is a tool to securely store and access @acronym{Amazon Web Services,AWS} credentials. @@ -8696,7 +7962,6 @@ AWS Vault stores IAM credentials in your operating system's secure keystore and then generates temporary credentials from those to expose to your shell and applications. It's designed to be complementary to the AWS CLI tools, and is aware of your profiles and configuration in ~/.aws/config.") - (home-page "https://github.com/99designs/aws-vault") (license license:expat))) (define-public go-github-com-gsterjov-go-libsecret @@ -8727,9 +7992,6 @@ aware of your profiles and configuration in ~/.aws/config.") (home-page "https://github.com/gsterjov/go-libsecret") (license license:expat)))) -(define-public go-github-com-go-libsecret - (deprecated-package "go-github-com-go-libsecret" go-github-com-gsterjov-go-libsecret)) - (define-public go-github-com-mtibben-androiddnsfix (let ((commit "ff02804463540c36e3a148dcf4b009d003cf2a31") (revision "0")) @@ -8792,7 +8054,7 @@ aware of your profiles and configuration in ~/.aws/config.") (package (inherit go-gopkg-in-ini) (name "go-github-com-go-ini-ini") - (version "1.66.6") + (version "1.67.0") (source (origin (method git-fetch) (uri (git-reference @@ -8801,7 +8063,7 @@ aware of your profiles and configuration in ~/.aws/config.") (file-name (git-file-name name version)) (sha256 (base32 - "0kqg13606hnw8f75cb59fsy1m85kiqf3csi2g7q2512avdmaphc9")))) + "1vpzkjmrwp7bqqsijp61293kk2vn6lcck56j8m5y6ks6cf21lpap")))) (arguments (list #:import-path "github.com/go-ini/ini")) (propagated-inputs (list go-github-com-stretchr-testify)))) @@ -8984,8 +8246,7 @@ ordered, mutable data structure.") (base32 "0pdy8f7bkm65gx4vknwcvfa619hknflqxkdlvmf427k2mzm91gmh")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/peterbourgon/diskv" - #:go ,go-1.18)) + `(#:import-path "github.com/peterbourgon/diskv")) (propagated-inputs (list go-github-com-google-btree)) (home-page "https://github.com/peterbourgon/diskv") (synopsis "Disk-backed key-value store") @@ -9073,31 +8334,6 @@ result is a conceptually simple, but highly performant, disk-backed storage syst email library.") (license license:gpl3+))) -(define-public go-github-com-emersion-go-message - (package - (name "go-github-com-emersion-go-message") - (version "0.16.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/emersion/go-message") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1j5qdhsna28xcs843zsiccw700rld5hin466dl0n3a0ax1w13ay0")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/emersion/go-message")) - (propagated-inputs (list go-golang-org-x-text - go-github-com-emersion-go-textwrapper)) - (home-page "https://github.com/emersion/go-message") - (synopsis "Internet messages and MIME for Go") - (description - "The message package implements the Internet Message Format and Multipurpose -Internet Mail Extensions in Go.") - (license license:expat))) - (define-public go-github-com-jaytaylor-html2text (package (name "go-github-com-jaytaylor-html2text") @@ -9126,68 +8362,6 @@ Internet Mail Extensions in Go.") text-only mail clients to display them.") (license license:expat))) -(define-public go-github-com-jhillyerd-enmime - (package - (name "go-github-com-jhillyerd-enmime") - (version "0.9.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jhillyerd/enmime") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "124dqm598phbmalyx2gmxk201z9kq4ckvvdq8rc0akjlp24nxqbb")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/jhillyerd/enmime")) - (propagated-inputs (list go-golang-org-x-text - go-golang-org-x-net - go-github-com-stretchr-testify - go-github-com-ssor-bom - go-github-com-rivo-uniseg - go-github-com-pkg-errors - go-github-com-olekukonko-tablewriter - go-github-com-mattn-go-runewidth - go-github-com-gogs-chardet - go-github-com-jaytaylor-html2text - go-github-com-go-test-deep - go-github-com-cention-sany-utf7)) - (home-page "https://github.com/jhillyerd/enmime") - (synopsis "MIME encoder and decoder for Go") - (description - "The enmime package implements a MIME encoding and decoding -library geared towards parsing MIME encoded emails.") - (license license:expat))) - -(define-public go-github-com-gatherstars-com-jwz - (package - (name "go-github-com-gatherstars-com-jwz") - (version "1.3.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gatherstars-com/jwz") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1zxg2vmka80m1vnlb1v1gdlrwnkpakcmwi1hxpl8jjjiyd4z2j2i")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/gatherstars-com/jwz")) - (propagated-inputs (list go-github-com-rivo-tview - go-github-com-jhillyerd-enmime - go-github-com-gdamore-tcell-v2)) - (home-page "https://github.com/gatherstars-com/jwz") - (synopsis "Implementation in Go of the email threading algorithm -originally invented for Netscape Mail") - (description - "The jwz package provides an implementation of the email threading -algorithm originally designed for use in Netscape Mail 2.0 for Go.") - (license license:asl2.0))) - (define-public go-github-com-creack-pty (package (name "go-github-com-creack-pty") @@ -9424,39 +8598,10 @@ useful during debugging, to avoid wrapping long output lines in the terminal.") (license license:expat))) -(define-public go-github-com-arran4-golang-ical - (package - (name "go-github-com-arran4-golang-ical") - (version "0.0.0-20220517104411-fd89fefb0182") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/arran4/golang-ical") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0bxs0b5yg26liiifc0cc41l307r0wc93hp8iygv8dgpc60yzncaw")))) - (build-system go-build-system) - (arguments - (list #:import-path "github.com/arran4/golang-ical")) - (propagated-inputs (list go-gopkg-in-yaml-v3 - go-gopkg-in-check-v1 - go-github-com-stretchr-testify - go-github-com-niemeyer-pretty - go-github-com-kr-text - go-github-com-davecgh-go-spew)) - (home-page "https://github.com/arran4/golang-ical") - (synopsis "Handle iCalenders in Go") - (description - "The @code{ical} package provides an ICS/iCalender parser and -serialiser for Go.") - (license license:asl2.0))) - (define-public go-github-com-lithammer-fuzzysearch (package (name "go-github-com-lithammer-fuzzysearch") - (version "1.1.5") + (version "1.1.8") (source (origin (method git-fetch) (uri (git-reference @@ -9465,7 +8610,7 @@ serialiser for Go.") (file-name (git-file-name name version)) (sha256 (base32 - "1b036sm42cf64diwlqhx24vxy6g5afrmfbdfyqhpg8zrii3lpwns")))) + "0fp00gzbrr5fnz01lmkjqcs5z24zjrsp4r13ia0x0wslp5r13hv8")))) (build-system go-build-system) (propagated-inputs (list go-golang-org-x-text)) (arguments |