From 3f752462908ef1ade0f7b4193f4316debe19535b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 28 May 2025 11:03:27 +0100 Subject: [PATCH] gnu: Add go-github-com-ipfs-go-datastore-0.6. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-datastore-0.6): New variable. Change-Id: I45e78eeafc849b612dd3985da59dd1cd2c37b0c6 --- gnu/packages/ipfs.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 54fe0d0cee8988e280049737c8dd6767394eb34e..e661689b3fbafa46a2298e65368da78796f8bbdf 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -776,6 +776,35 @@ different strengths without committing the application to one datastore throughout its lifetime.") (license license:expat))) +(define-public go-github-com-ipfs-go-datastore-0.6 + (package + (inherit go-github-com-ipfs-go-datastore) + (name "go-github-com-ipfs-go-datastore") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-datastore") + (commit (string-append "v" version)))) + (modules '((guix build utils))) + (snippet + #~(begin + ;; Submodules with their own go.mod files and packaged separately: + ;; + ;; - github.com/ipfs/go-datastore/fuzz + (delete-file-recursively "fuzz"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xbhh3gm7bgd2d1p821w8gmbh87aix1g1ynhbl7gjaxxyhrsh68n")))) + (propagated-inputs + (list go-github-com-google-uuid + go-github-com-ipfs-go-detect-race + go-github-com-ipfs-go-ipfs-delay + go-github-com-jbenet-goprocess + go-go-uber-org-multierr + go-golang-org-x-xerrors)))) + (define-public go-github-com-ipfs-go-ds-badger (package (name "go-github-com-ipfs-go-ds-badger")