sharlatan pushed a commit to branch go-team
in repository guix.
commit d1bf28bf00a296f85f04338089093c2ef34b39d5
Author: Sharlatan Hellseher <[email protected]>
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 ac163ae5f1..12263261b8 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13993,6 +13993,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")