sharlatan pushed a commit to branch go-team
in repository guix.

commit 4da9a6a30ed850ccd3a0fa67df91ef4d99195843
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Feb 20 14:41:33 2025 +0000

    gnu: Add go-github-com-samber-lo.
    
    * gnu/packages/golang-xyz.scm (go-github-com-samber-lo): New variable.
    
    Change-Id: I2273b7c7da35e67440a03b097b1491f91058a5a0
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index a9cc540acd..91de2ecc22 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13989,6 +13989,35 @@ logging.")
 symbols in the style of Sublime Text, VSCode, @code{IntelliJ} IDEA et al.")
     (license license:expat)))
 
+(define-public go-github-com-samber-lo
+  (package
+    (name "go-github-com-samber-lo")
+    (version "1.49.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/samber/lo";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0x82njn075hsb4vax6w7wih5g117chjvsjgzlgq9n1kn5ksi5i64"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/samber/lo"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-golang-org-x-text))
+    (home-page "https://github.com/samber/lo";)
+    (synopsis "Lodash-style Go library based on Go 1.18+ Generics")
+    (description
+     "This package implements a functionality to iterate over slices, maps,
+channels etc. and heavily inspired by @url{https://github.com/lodash/lodash,
+Lodash}.")
+    (license license:expat)))
+
 (define-public go-github-com-sap-go-hdb
   (package
     (name "go-github-com-sap-go-hdb")

Reply via email to