From bb22037ade7bcad037dcf687771d740e99b3121f Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 8 Sep 2024 15:13:28 +0100 Subject: [PATCH] gnu: Add go-github-com-ipfs-go-ds-leveldb. * gnu/packages/ipfs.scm (go-github-com-ipfs-go-ds-leveldb): New variable. Change-Id: Ida3a850c9d7ca25b694e580837b3bda918875825 --- gnu/packages/ipfs.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 10f4a6f0e4..a471da1b2f 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -398,6 +398,33 @@ throughout its lifetime.") by @url{https://dgraph.io/docs/badger,Badger}.") (license license:expat))) +(define-public go-github-com-ipfs-go-ds-leveldb + (package + (name "go-github-com-ipfs-go-ds-leveldb") + (version "0.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-ds-leveldb") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hi7vmjpzzh00zcf0638rvgiqj4j8difz5kzr0pilr0z6zcb7dq3")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ipfs/go-ds-leveldb")) + (propagated-inputs + (list go-github-com-ipfs-go-datastore go-github-com-syndtr-goleveldb)) + (home-page "https://github.com/ipfs/go-ds-leveldb") + (synopsis "Implementation of go-datastore using leveldb") + (description + "This package implements the +@url{https://github.com/ipfs/go-datastore,go-datastore} interface using a +LevelDB backend.") + (license license:expat))) + (define-public go-github-com-ipfs-go-detect-race (package (name "go-github-com-ipfs-go-detect-race")