summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-11 16:51:57 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:47:59 +0000
commite0893fffcec8d64e40682cb0ec2962a20d6d1cf7 (patch)
treef5cafb8208ee252d77a913f78b7518779ca9eed6
parent3245ebe88c09b5f0aed5267a4b1ca3102dbe9790 (diff)
gnu: Add go-github-com-patrickmn-go-cache.
* gnu/packages/golang-xyz.scm (go-github-com-patrickmn-go-cache): New variable. Change-Id: I3c5fa4e1cf60670ecaeb75e98ea16370f03655a9
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index fca6af6600..c9f35429d0 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -11924,6 +11924,33 @@ throughput and hit ratio performance. It's a fork of
@code{dgraph-io/ristretto} project.")
(license license:asl2.0)))
+(define-public go-github-com-patrickmn-go-cache
+ (package
+ (name "go-github-com-patrickmn-go-cache")
+ (version "2.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/patrickmn/go-cache")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10020inkzrm931r4bixf8wqr9n39wcrb78vfyxmbvjavvw4zybgs"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/patrickmn/go-cache"))
+ (home-page "https://github.com/patrickmn/go-cache")
+ (synopsis "In-memory key:value store/cache Golang library")
+ (description
+ "go-cache is an in-memory key:value store/cache similar to Memcached that
+is suitable for applications running on a single machine. Its major advantage
+is that, being essentially a thread-safe @code{map[string]interface{}} with
+expiration times, it doesn't need to serialize or transmit its contents over
+the network.")
+ (license license:expat)))
+
(define-public go-github-com-pbnjay-memory
(let ((commit "7b4eea64cf580186c0eceb10dc94ba3a098af46c")
(revision "2"))