gnu: go-github-com-hashicorp-golang-lru-v2: Delete submodule.

The submodule <github.com/hashicorp/golang-lru/arc/v2> needs to be
packed as dedicated package.  It would easy the job for the importer as
it contains it's own go.mod file.

* gnu/packages/golang-xyz.scm (go-github-com-hashicorp-golang-lru-v2)
[source]: Delete "arc" submodule.

Change-Id: Iaace717e530e49a2c910ac6e78f3f2fec3a2b7ca
This commit is contained in:
Sharlatan Hellseher 2024-08-29 23:59:02 +01:00
parent b60f731c68
commit 4dc9cd218d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3216,7 +3216,16 @@ (define-public go-github-com-hashicorp-golang-lru-v2
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0lb2ylv2bz6lsqhn6c2hsafjjcx0hsdbah6arhb778g3xbkpgvf3"))))
(base32 "0lb2ylv2bz6lsqhn6c2hsafjjcx0hsdbah6arhb778g3xbkpgvf3"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodule(s) with their own go.mod files and packed as
;; separated packages:
;;
;; - github.com/hashicorp/golang-lru/arc/v2
(for-each delete-file-recursively
(list "arc"))))))
(build-system go-build-system)
(arguments
(list