Subject: [PATCH] gnu: Deprecate the "go-github-com-willf-bitset" variable; update the package.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Sat, 04 Nov 2023 12:37:44 +0300

Hello,

this patchset replaces "go-github-com-willf-bitset" with
"go-github-com-bits-and-blooms-bitset" and updates the package.
From d6a423ea0db8651f1bd9315109b1257f1624f73c Mon Sep 17 00:00:00 2001
Message-ID: <d6a423[email-masked]>
From: "Artyom V. Poptsov" <[email-masked]>
Date: Sat, 4 Nov 2023 12:32:14 +0300
Subject: [PATCH 1/2] gnu: Deprecate the "go-github-com-willf-bitset" variable.

* gnu/packages/golang.scm (go-github-com-willf-bitset): Rename to
  "go-github-com-bits-and-blooms-bitset".
  [arguments]: Update.
  [home-page]: Update.
  (go-github-com-willf-bitset): Define as deprecated by
  "go-github-com-bits-and-blooms-bitset".

Change-Id: Iaa31f120d1c2b18a5c916ea5e68b89bd3e534ffd
---
 gnu/packages/golang.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 93a375fd2f..51d563dc6a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8647,29 +8647,32 @@ (define-public go-github-com-mattn-go-sqlite3
 @code{database/sql}.")
     (license license:expat)))
 
-(define-public go-github-com-willf-bitset
+(define-public go-github-com-bits-and-blooms-bitset
   (package
-    (name "go-github-com-willf-bitset")
+    (name "go-github-com-bits-and-blooms-bitset")
     (version "1.1.10")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/willf/bitset")
-                     (commit (string-append "v" version))))
+                    (url "https://github.com/bits-and-blooms/bitset")
+                    (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
                 "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/willf/bitset"))
+     '(#:import-path "github.com/bits-and-blooms/bitset"))
     (synopsis "Bitsets in Go")
     (description "This package provides a Go implementation of bitsets, which
 are a mapping between non-negative integers and boolean values focused on
 efficient space usage.")
-    (home-page "https://github.com/willf/bitset")
+    (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-willf-bloom
   (package
     (name "go-github-com-willf-bloom")

base-commit: c2358476e3f064b4ba512d81f8b8eea6e7b6913c
-- 
2.41.0

From 556e36b2f235e3c18b17b76334cf0857f42e5899 Mon Sep 17 00:00:00 2001
Message-ID: <556e36[email-masked]>
In-Reply-To: <d6a423[email-masked]>
References: <d6a423[email-masked]>
From: "Artyom V. Poptsov" <[email-masked]>
Date: Sat, 4 Nov 2023 12:34:17 +0300
Subject: [PATCH 2/2] gnu: go-github-com-bits-and-blooms-bitset: Update to
 1.11.0.

* gnu/packages/golang.scm (go-github-com-bits-and-blooms-bitset): Update to
  1.11.0.

Change-Id: I36dff5e8434f736d448c4dc8918f36020d25303a
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 51d563dc6a..e326d49ebc 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8650,7 +8650,7 @@ (define-public go-github-com-mattn-go-sqlite3
 (define-public go-github-com-bits-and-blooms-bitset
   (package
     (name "go-github-com-bits-and-blooms-bitset")
-    (version "1.1.10")
+    (version "1.11.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -8659,7 +8659,7 @@ (define-public go-github-com-bits-and-blooms-bitset
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0wpaxg6va3qwd0hq0b8rpb1hswvzzbfm2h8sjmcsdpbkydjjx9zg"))))
+                "1ialciixmr98p10rh61rnnkxpqi1j9hycbkv9rnjl0vnmsnpy0cy"))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/bits-and-blooms/bitset"))
-- 
2.41.0

Thanks,

- avp

-- 
Artyom "avp" Poptsov <[email-masked]>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F