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.

Full log


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





This bug report was last modified 302 days ago.

Previous Next


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