gnu: go-github-com-golang-groupcache-lru: Import all go modules.

Rename go-github-com-golang-groupcache-lru to
go-github-com-golang-groupcache to reflect go.mod import path as seen in
<https://pkg.go.dev/github.com/golang/groupcache>. It will provide other
available submodules together with main module groupcache: lru,
singleflight, groupcachepb and consistenthash.

* gnu/packages/syncthing.scm (go-github-com-golang-groupcache):
[arguments]: Remove <#:unpack-path>, update <#:import-path> to make
other modules available.
[propagated-inputs]: Add go-github-com-golang-protobuf-proto.

* gnu/packages/ipfs.scm (kubo): [inputs]: Remove
go-github-com-golang-groupcache-lru, add
go-github-com-golang-groupcache.

Change-Id: I455eecd2ebeff5f456f83621aa85b4de7d60304e
This commit is contained in:
Sharlatan Hellseher 2024-04-14 11:27:36 +01:00
parent e48d51faf0
commit 1cfaa79e6d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 6 additions and 5 deletions

View file

@ -353,7 +353,7 @@ (define-public kubo
go-github-com-francoispqt-gojay
go-github-com-fsnotify-fsnotify
go-github-com-gogo-protobuf
go-github-com-golang-groupcache-lru
go-github-com-golang-groupcache
go-github-com-golang-snappy
go-github-com-google-uuid
go-github-com-gorilla-mux

View file

@ -353,11 +353,11 @@ (define-public go-github-com-d4l3k-messagediff
(home-page "https://github.com/d4l3k/messagediff")
(license expat)))
(define-public go-github-com-golang-groupcache-lru
(define-public go-github-com-golang-groupcache
(let ((commit "869f871628b6baa9cfbc11732cdf6546b17c1298")
(revision "2"))
(package
(name "go-github-com-golang-groupcache-lru")
(name "go-github-com-golang-groupcache")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
@ -370,8 +370,9 @@ (define-public go-github-com-golang-groupcache-lru
"0r4nk8129bvx50qb4xzjaay39b2h6k7cbdqqzdlanmc82ygczsbw"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/golang/groupcache/lru"
#:unpack-path "github.com/golang/groupcache"))
`(#:import-path "github.com/golang/groupcache"))
(propagated-inputs
(list go-github-com-golang-protobuf-proto))
(synopsis "Groupcache is a caching and cache-filling library")
(description "Groupcache is a caching and cache-filling library, intended
as a replacement for memcached in many cases. It provides a data loading