summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-20 14:41:33 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:14 +0100
commit5401798409fc654f00d1c2a384add2dc85f15b04 (patch)
tree0ee8ca28f648a5759bf24de6fdddb6c9cc3efb15 /gnu/packages/golang-xyz.scm
parentf04b0e9600db7733c9cfeb5eb5063abdfb421aef (diff)
gnu: Add go-github-com-samber-lo.
* gnu/packages/golang-xyz.scm (go-github-com-samber-lo): New variable. Change-Id: I2273b7c7da35e67440a03b097b1491f91058a5a0
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index c1c4de7778..f87fd9d6d7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -14026,6 +14026,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")