unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list
@ 2024-09-11 19:21 Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring Artyom V. Poptsov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Artyom V. Poptsov @ 2024-09-11 19:21 UTC (permalink / raw)
  To: 73184; +Cc: Artyom V. Poptsov

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#73184] [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring.
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
@ 2024-09-11 19:23 ` Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 2/5] gnu: Add go-github-com-philhofer-fwd Artyom V. Poptsov
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Artyom V. Poptsov @ 2024-09-11 19:23 UTC (permalink / raw)
  To: 73184; +Cc: Artyom V. Poptsov

* 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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#73184] [PATCH 2/5] gnu: Add go-github-com-philhofer-fwd.
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring Artyom V. Poptsov
@ 2024-09-11 19:23 ` Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 3/5] gnu: Add go-github-com-tinylib-msgp Artyom V. Poptsov
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Artyom V. Poptsov @ 2024-09-11 19:23 UTC (permalink / raw)
  To: 73184; +Cc: Artyom V. Poptsov

* 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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#73184] [PATCH 3/5] gnu: Add go-github-com-tinylib-msgp.
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 2/5] gnu: Add go-github-com-philhofer-fwd Artyom V. Poptsov
@ 2024-09-11 19:23 ` Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 4/5] gnu: Add go-github-com-workiva-go-datastructures Artyom V. Poptsov
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Artyom V. Poptsov @ 2024-09-11 19:23 UTC (permalink / raw)
  To: 73184; +Cc: Artyom V. Poptsov

* 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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#73184] [PATCH 4/5] gnu: Add go-github-com-workiva-go-datastructures.
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
                   ` (2 preceding siblings ...)
  2024-09-11 19:23 ` [bug#73184] [PATCH 3/5] gnu: Add go-github-com-tinylib-msgp Artyom V. Poptsov
@ 2024-09-11 19:23 ` Artyom V. Poptsov
  2024-09-11 19:23 ` [bug#73184] [PATCH 5/5] gnu: Add go-github-com-liyue201-gostl Artyom V. Poptsov
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Artyom V. Poptsov @ 2024-09-11 19:23 UTC (permalink / raw)
  To: 73184; +Cc: Artyom V. Poptsov

* 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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#73184] [PATCH 5/5] gnu: Add go-github-com-liyue201-gostl.
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
                   ` (3 preceding siblings ...)
  2024-09-11 19:23 ` [bug#73184] [PATCH 4/5] gnu: Add go-github-com-workiva-go-datastructures Artyom V. Poptsov
@ 2024-09-11 19:23 ` Artyom V. Poptsov
  2024-09-16 21:41 ` [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Sharlatan Hellseher
  2024-09-21 14:25 ` bug#73184: " Sharlatan Hellseher
  6 siblings, 0 replies; 8+ messages in thread
From: Artyom V. Poptsov @ 2024-09-11 19:23 UTC (permalink / raw)
  To: 73184; +Cc: Artyom V. Poptsov

* 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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
                   ` (4 preceding siblings ...)
  2024-09-11 19:23 ` [bug#73184] [PATCH 5/5] gnu: Add go-github-com-liyue201-gostl Artyom V. Poptsov
@ 2024-09-16 21:41 ` Sharlatan Hellseher
  2024-09-21 14:25 ` bug#73184: " Sharlatan Hellseher
  6 siblings, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2024-09-16 21:41 UTC (permalink / raw)
  To: 73184

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#73184: [PATCH 0/5] Add some Golang libraries from the "awesome-go" list
  2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
                   ` (5 preceding siblings ...)
  2024-09-16 21:41 ` [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Sharlatan Hellseher
@ 2024-09-21 14:25 ` Sharlatan Hellseher
  6 siblings, 0 replies; 8+ messages in thread
From: Sharlatan Hellseher @ 2024-09-21 14:25 UTC (permalink / raw)
  To: 73184-done

[-- Attachment #1: Type: text/plain, Size: 130 bytes --]


Hi,

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

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-21 14:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-11 19:21 [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Artyom V. Poptsov
2024-09-11 19:23 ` [bug#73184] [PATCH 1/5] gnu: Add go-github-com-tannerryan-ring Artyom V. Poptsov
2024-09-11 19:23 ` [bug#73184] [PATCH 2/5] gnu: Add go-github-com-philhofer-fwd Artyom V. Poptsov
2024-09-11 19:23 ` [bug#73184] [PATCH 3/5] gnu: Add go-github-com-tinylib-msgp Artyom V. Poptsov
2024-09-11 19:23 ` [bug#73184] [PATCH 4/5] gnu: Add go-github-com-workiva-go-datastructures Artyom V. Poptsov
2024-09-11 19:23 ` [bug#73184] [PATCH 5/5] gnu: Add go-github-com-liyue201-gostl Artyom V. Poptsov
2024-09-16 21:41 ` [bug#73184] [PATCH 0/5] Add some Golang libraries from the "awesome-go" list Sharlatan Hellseher
2024-09-21 14:25 ` bug#73184: " Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).