From 535476939920737509662305aab9279da3477baa Mon Sep 17 00:00:00 2001 Message-ID: <535476939920737509662305aab9279da3477baa.1699737412.git.poptsov.artyom@gmail.com> In-Reply-To: <9d11912cb4bd31eac64928892a97268dbf0e67a6.1699737412.git.poptsov.artyom@gmail.com> References: <9d11912cb4bd31eac64928892a97268dbf0e67a6.1699737412.git.poptsov.artyom@gmail.com> From: "Artyom V. Poptsov" Date: Sat, 4 Nov 2023 18:03:02 +0300 Subject: [PATCH 05/12] gnu: Update "go-github-com-willf-bitset" to 3.6.0. * gnu/packages/golang.scm (go-github-com-willf-bloom): Rename to "go-github-com-bits-and-blooms-bloom". Update to 3.6.0. [arguments]: Replace "willf" with "bits-and-blooms". [home-page]: Likewise. (go-github-com-willf-bloom): Define as deprecated by "go-github-com-bits-and-blooms-bloom". Change-Id: Ib9ecbff9c2694fae53bbc355fcb03079140183a0 --- gnu/packages/golang.scm | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e326d49ebc..b1f7be9629 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8673,22 +8673,22 @@ (define-public go-github-com-bits-and-blooms-bitset (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-willf-bloom +(define-public go-github-com-bits-and-blooms-bloom (package - (name "go-github-com-willf-bloom") - (version "2.0.3") + (name "go-github-com-bits-and-blooms-bloom") + (version "3.6.0") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/willf/bloom") - (commit (string-append "v" version)))) + (url "https://github.com/bits-and-blooms/bloom") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "0ygan8pgcay7wx3cs3ja8rdqj7nly7v3and97ddcc66020jxchzg")))) + "02rpjlgl7k3755qnlsk519xazgqlk73b8wvkpqlvccywms5w77bq")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/willf/bloom" + '(#:import-path "github.com/bits-and-blooms/bloom" #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-import-path @@ -8696,17 +8696,20 @@ (define-public go-github-com-willf-bloom ;; See 'go.mod' in the source distribution of Syncthing 1.5.0 for ;; more information. ;; - (substitute* "src/github.com/willf/bloom/bloom.go" + (substitute* "src/github.com/bits-and-blooms/bloom/bloom.go" (("spaolacci") "twmb")) #t))))) (propagated-inputs - (list go-github-com-twmb-murmur3 go-github-com-willf-bitset)) + (list go-github-com-twmb-murmur3 go-github-com-bits-and-blooms-bitset)) (synopsis "Bloom filters in Go") (description "This package provides a Go implementation of bloom filters, based on murmurhash.") - (home-page "https://github.com/willf/bloom") + (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")) -- 2.41.0