GNU bug report logs - #73184
[PATCH 0/5] Add some Golang libraries from the "awesome-go" list

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Wed, 11 Sep 2024 19:23:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73184 in the body.
You can then email your comments to 73184 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Wed, 11 Sep 2024 19:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 11 Sep 2024 19:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 0/5] Add some Golang libraries from the "awesome-go" list
Date: Wed, 11 Sep 2024 22:21:50 +0300
This patchset adds some Golang libraries from "awesome-go" list:
  https://github.com/avelino/awesome-go

Artyom V. Poptsov (5):
  gnu: Add go-github-com-tannerryan-ring.
  gnu: Add go-github-com-philhofer-fwd.
  gnu: Add go-github-com-tinylib-msgp.
  gnu: Add go-github-com-workiva-go-datastructures.
  gnu: Add go-github-com-liyue201-gostl.

 gnu/packages/golang-xyz.scm | 159 ++++++++++++++++++++++++++++++++++++
 1 file changed, 159 insertions(+)


base-commit: b46256b162e15420bb034a9e6d65ec46f1c03343
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Wed, 11 Sep 2024 19:25:01 GMT) Full text and rfc822 format available.

Message #8 received at 73184 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 73184 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring.
Date: Wed, 11 Sep 2024 22:23:11 +0300
* gnu/packages/golang-xyz.scm (go-github-com-tannerryan-ring): New variable.

Change-Id: I14d280d6af0dd25ee8b2bd1a7565640223fdbe21
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c2059b7906..037cef32db 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6309,6 +6309,30 @@ (define-public go-github-com-syndtr-goleveldb
 storage system.")
     (license license:bsd-2)))
 
+(define-public go-github-com-tannerryan-ring
+  (package
+    (name "go-github-com-tannerryan-ring")
+    (version "1.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tannerryan/ring")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "07q5qcg2wv696nnw3rrgc49mqijapdwp3xsscaxb5867bz79s841"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/tannerryan/ring"))
+    (home-page "https://github.com/tannerryan/ring")
+    (synopsis "High performance bloom filter")
+    (description
+     "@code{ring} provides a high performance and thread safe Go implementation of a
+@url{https://en.wikipedia.org/wiki/Bloom_filter, bloom filter}.")
+    (license license:bsd-2)))
+
 (define-public go-github-com-teambition-rrule-go
   (package
     (name "go-github-com-teambition-rrule-go")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Wed, 11 Sep 2024 19:25:01 GMT) Full text and rfc822 format available.

Message #11 received at 73184 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 73184 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 2/5] gnu: Add go-github-com-philhofer-fwd.
Date: Wed, 11 Sep 2024 22:23:12 +0300
* gnu/packages/golang-xyz.scm (go-github-com-philhofer-fwd): New variable.

Change-Id: I2ec89e3f6d9bd98fcde14ccb70d7373cafca38ff
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 037cef32db..89751e8fcb 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5676,6 +5676,30 @@ (define-public go-github-com-pelletier-go-toml-v2
      (list go-github-com-stretchr-testify))
     (propagated-inputs '())))
 
+(define-public go-github-com-philhofer-fwd
+  (package
+    (name "go-github-com-philhofer-fwd")
+    (version "1.1.3-0.20240612014219-fbbf4953d986")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/philhofer/fwd")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0vq27qy4sbbv316kb3jmf7np3iq6d4gq99gd53jcm2giabbqvgm5"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/philhofer/fwd"))
+    (home-page "https://github.com/philhofer/fwd")
+    (synopsis "Buffered reader/writer")
+    (description
+     "Package @code{fwd} provides a buffered reader and writer.  Each has methods
+that help improve the encoding/decoding performance of some binary protocols.")
+    (license license:expat)))
+
 (define-public go-github-com-pierrec-cmdflag
   (package
     (name "go-github-com-pierrec-cmdflag")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Wed, 11 Sep 2024 19:25:02 GMT) Full text and rfc822 format available.

Message #14 received at 73184 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 73184 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 3/5] gnu: Add go-github-com-tinylib-msgp.
Date: Wed, 11 Sep 2024 22:23:13 +0300
* gnu/packages/golang-xyz.scm (go-github-com-tinylib-msgp): New variable.

Change-Id: I278d2d249029c9eb5f8eddb82007e9a22d65a9bc
---
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 89751e8fcb..eb04ff639b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6529,6 +6529,33 @@ (define-public go-github-com-tidwall-sjson
 document.")
     (license license:expat)))
 
+(define-public go-github-com-tinylib-msgp
+  (package
+    (name "go-github-com-tinylib-msgp")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tinylib/msgp")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0mplb420i9cmf40qwsqzd1plln52nl0x0b7nkxffyr0pdh9za79a"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/tinylib/msgp"))
+    (propagated-inputs
+     (list go-github-com-philhofer-fwd
+           go-golang-org-x-tools))
+    (home-page "https://github.com/tinylib/msgp")
+    (synopsis "Go code generator for MessagePack")
+    (description
+     "This is a code generation tool and serialization library for
+@url{http://msgpack.org/, MessagePack}.")
+    (license license:expat)))
+
 (define-public go-github-com-tklauser-go-sysconf
   (package
     (name "go-github-com-tklauser-go-sysconf")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Wed, 11 Sep 2024 19:25:03 GMT) Full text and rfc822 format available.

Message #17 received at 73184 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 73184 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 5/5] gnu: Add go-github-com-liyue201-gostl.
Date: Wed, 11 Sep 2024 22:23:15 +0300
* gnu/packages/golang-xyz.scm (go-github-com-liyue201-gostl): New variable.

Change-Id: I6abdb2f1ca4bd5e53c2b5a72214dcd5b34cbf20d
---
 gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7cad8c7e94..2046e9d1d7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4251,6 +4251,39 @@ (define-public go-github-com-libp2p-go-msgio
 length-delimited slices.  It's helpful for building wire protocols.")
     (license license:expat)))
 
+(define-public go-github-com-liyue201-gostl
+  (package
+    (name "go-github-com-liyue201-gostl")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/liyue201/gostl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1dxzh791agir21dp1jmfa1bvqc23byz93fx3jlm94brlgm9zdkd3"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/liyue201/gostl"
+      #:phases
+      #~(modify-phases %standard-phases
+          (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" "./..."))))))))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (home-page "https://github.com/liyue201/gostl")
+    (synopsis "Data structure and algorithm library for Go")
+    (description
+     "@code{gostl} is a data structure and algorithm library for Go, designed to
+provide functions similar to C++ STL.")
+    (license license:expat)))
+
 (define-public go-github-com-logrusorgru-aurora
   (package
     (name "go-github-com-logrusorgru-aurora")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Wed, 11 Sep 2024 19:25:03 GMT) Full text and rfc822 format available.

Message #20 received at 73184 <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: 73184 <at> debbugs.gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH 4/5] gnu: Add go-github-com-workiva-go-datastructures.
Date: Wed, 11 Sep 2024 22:23:14 +0300
* gnu/packages/golang-xyz.scm (go-github-com-workiva-go-datastructures): New variable.

Change-Id: I1523c7aeaed0910fbfbfe7fc96566684fdd2dab8
---
 gnu/packages/golang-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index eb04ff639b..7cad8c7e94 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6789,6 +6789,57 @@ (define-public go-github-com-whyrusleeping-go-sysinfo
 @code{MemoryInfo}.")
     (license license:expat)))
 
+(define-public go-github-com-workiva-go-datastructures
+  (package
+    (name "go-github-com-workiva-go-datastructures")
+    (version "1.1.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Workiva/go-datastructures")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "09k5zg0ma8z5bcfwk3viccaxzrrk5pyfhk5hkr9x34vgcnlk0jx7"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/Workiva/go-datastructures"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (propagated-inputs (list go-github-com-tinylib-msgp))
+    (home-page "https://github.com/Workiva/go-datastructures")
+    (synopsis "Collection of Go data structures")
+    (description
+     "@code{go-datastructures} is a collection of useful, performant, and thread-safe
+Go data structures.
+
+It includes:
+@itemize
+@item Augmented Tree
+@item Bitarray
+@item Futures
+@item Queue
+@item Fibonacci Heap
+@item Range Tree
+@item Set
+@item Threadsafe
+@item AVL Tree
+@item X-Fast Trie
+@item Y-Fast Trie
+@item Fast Integer Hashmap
+@item Skiplist
+@item Sort
+@item Numerics
+@item B+ Tree
+@item Immutable B Tree
+@item Ctrie
+@item Dtrie
+@item Persistent List
+@item Simple Graph
+@end itemize")
+    (license license:asl2.0)))
+
 (define-public go-github-com-xhit-go-str2duration-v2
   (package
     (name "go-github-com-xhit-go-str2duration-v2")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#73184; Package guix-patches. (Mon, 16 Sep 2024 21:43:02 GMT) Full text and rfc822 format available.

Message #23 received at 73184 <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 73184 <at> debbugs.gnu.org
Subject: [PATCH 0/5] Add some Golang libraries from the "awesome-go" list
Date: Mon, 16 Sep 2024 22:41:25 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've pushed 2 of 3 preposed patches, some of them are already on
go-team, sorry if missed them in first place.

- patches [5/5]
  - [X] [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring.
    - Applied on master
  - [X] [PATCH 2/5] gnu: Add go-github-com-philhofer-fwd.
    It's already on go-team
  - [X] [PATCH 3/5] gnu: Add go-github-com-tinylib-msgp.
    It's already on go-team
  - [X] [PATCH 4/5] gnu: Add go-github-com-workiva-go-datastructures.
    Pending for go-team merge or may be applied on it,
  - [X] [PATCH 5/5] gnu: Add go-github-com-liyue201-gostl.
    - Applied on master

Feel free to rebase on go-team and push missing ones or wait when
go-team is merged (hope soon).

Pushed 2 as 58405cbe3a..bee20255f7 to master.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Sat, 21 Sep 2024 14:27:02 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Sat, 21 Sep 2024 14:27:02 GMT) Full text and rfc822 format available.

Message #28 received at 73184-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 73184-done <at> debbugs.gnu.org 
Subject: [PATCH 0/5] Add some Golang libraries from the "awesome-go" list
Date: Sat, 21 Sep 2024 15:25:12 +0100
[Message part 1 (text/plain, inline)]
Hi,

I've extend tests and description for
go-github-com-workiva-go-datastructures and pushed as 776edb9c8d to
go-team.

--
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 20 Oct 2024 11:24:13 GMT) Full text and rfc822 format available.

This bug report was last modified 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.