[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/31: gnu: Add go-github-com-hashicorp-golang-lru.
From: |
guix-commits |
Subject: |
15/31: gnu: Add go-github-com-hashicorp-golang-lru. |
Date: |
Fri, 12 Apr 2024 12:02:43 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 5f578c37429edc0e6c50f40cb1fb2467eba49e5d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Apr 12 14:16:31 2024 +0100
gnu: Add go-github-com-hashicorp-golang-lru.
* gnu/packages/golang-xyz.scm go-github-com-hashicorp-golang-lru-v2,
go-github-com-hashicorp-golang-lru): New variables.
Change-Id: Id8de7d211e7a8fc4b257b0d2155ec9f4ed3cc3b9
---
gnu/packages/golang-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5263d08d73..3bdd43edc6 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1417,6 +1417,51 @@ a collection of versions properly, handles
prerelease/beta versions, can
increment versions.")
(license license:mpl2.0)))
+(define-public go-github-com-hashicorp-golang-lru
+ (package
+ (name "go-github-com-hashicorp-golang-lru")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/golang-lru")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13q3mdlr4hb2cxa5k4ccpz1gg4swrmkxm7h3brq3xsawidpbjbyb"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/hashicorp/golang-lru"))
+ (home-page "https://github.com/hashicorp/golang-lru")
+ (synopsis "Golang LRU cache")
+ (description
+ "@code{lru} is a package which implements a fixed-size thread safe
+@acronym{Least recently used,LRU} cache. It is based on the cache in
+Groupcache.")
+ (license license:mpl2.0)))
+
+(define-public go-github-com-hashicorp-golang-lru-v2
+ (package
+ (inherit go-github-com-hashicorp-golang-lru)
+ (name "go-github-com-hashicorp-golang-lru-v2")
+ (version "2.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hashicorp/golang-lru")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lb2ylv2bz6lsqhn6c2hsafjjcx0hsdbah6arhb778g3xbkpgvf3"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.18
+ #:import-path "github.com/hashicorp/golang-lru/v2"))))
+
(define-public go-github-com-hashicorp-hcl
(package
(name "go-github-com-hashicorp-hcl")
- 01/31: gnu: go-github-com-gobwas-glob: Move to golang-xyz., (continued)
- 01/31: gnu: go-github-com-gobwas-glob: Move to golang-xyz., guix-commits, 2024/04/12
- 03/31: gnu: Add go-github-com-openprinting-goipp., guix-commits, 2024/04/12
- 16/31: gnu: go-github-com-pbnjay-memory: Move to golang-xyz., guix-commits, 2024/04/12
- 04/31: gnu: Add ipp-usb., guix-commits, 2024/04/12
- 09/31: gnu: go-github-com-multiformats-go-multihash: Fix indentation., guix-commits, 2024/04/12
- 06/31: gnu: Add go-github-com-gxed-hashland., guix-commits, 2024/04/12
- 13/31: gnu: Add go-github-com-ipfs-go-cid., guix-commits, 2024/04/12
- 11/31: gnu: Add specification-multicodec., guix-commits, 2024/04/12
- 02/31: gnu: go-github-com-fatih-color: Move to golang-xyz., guix-commits, 2024/04/12
- 14/31: gnu: restic-rest-server: Refresh package style., guix-commits, 2024/04/12
- 15/31: gnu: Add go-github-com-hashicorp-golang-lru.,
guix-commits <=
- 20/31: gnu: go-go-uber-org-atomic: Move to golang-xyz., guix-commits, 2024/04/12
- 22/31: gnu: go-go-uber-org-goleak: Enable tests., guix-commits, 2024/04/12
- 23/31: gnu: go-go-uber-org-goleak: Move to golang-check., guix-commits, 2024/04/12
- 25/31: gnu: go-go-uber-org-multierr: Move to golang-xyz., guix-commits, 2024/04/12
- 19/31: gnu: Add go-go-uber-org-dig., guix-commits, 2024/04/12
- 30/31: gnu: go-github-com-hashicorp-go-multierror: Adjust inputs., guix-commits, 2024/04/12
- 08/31: gnu: go-github-com-multiformats-go-multihash: Update to 0.0.1., guix-commits, 2024/04/12
- 31/31: gnu: kubo: Unbundle more packages., guix-commits, 2024/04/12
- 05/31: gnu: robocut: Refresh package style., guix-commits, 2024/04/12
- 17/31: gnu: go-github-com-pbnjay-memory: Update to 0.0.0-2.7b4eea6., guix-commits, 2024/04/12