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
This commit is contained in:
parent
584e77abd5
commit
5f578c3742
1 changed files with 45 additions and 0 deletions
|
@ -1417,6 +1417,51 @@ a collection of versions properly, handles prerelease/beta versions, can
|
||||||
increment versions.")
|
increment versions.")
|
||||||
(license license:mpl2.0)))
|
(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
|
(define-public go-github-com-hashicorp-hcl
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-hashicorp-hcl")
|
(name "go-github-com-hashicorp-hcl")
|
||||||
|
|
Reference in a new issue