summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Norton <patrick.147.norton@gmail.com>2026-01-06 09:54:52 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 21:33:59 +0100
commit3b16721f8f3060a3878ef29634bbb1155778a9ca (patch)
treee50e18c2834b9ec0747fadc72a56d78808674b94
parentc2ec4e702b29ac68af9b22d1789cc7c026477202 (diff)
gnu: Add go-go4-org-mem.
* gnu/packages/golang-xyz.scm (go-go4-org-mem): New variable. Relates-to: https://codeberg.org/guix/guix/pulls/5417 Change-Id: Id912ed62665c2ce69b9c7012435699d7b6363a2d Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fa021cbb72..86522f1677 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -29997,6 +29997,30 @@ for locating directories
@end itemize")
(license (list license:asl2.0 license:bsd-3)))))
+(define-public go-go4-org-mem
+ (package
+ (name "go-go4-org-mem")
+ (version "0.0.0-20240501181205-ae6ca9944745")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/go4org/mem")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h2bam1h6xi0lx9s0k44fvd28vkb6rh9vndz3srhwi6axvm8ir0s"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "go4.org/mem"))
+ (home-page "https://go4.org/mem")
+ (synopsis "Cheap read-only memory types in Go")
+ (description
+ "Package mem provides the @code{mem.RO} type that allows you to cheaply
+pass & access either a read-only @code{[]byte} or a @code{string}.")
+ (license license:asl2.0)))
+
(define-public go-golang-org-rainycape-unidecode
(let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c")
(revision "1"))