From 7a80edcbdd789d80fd6065e97e79c710626e41c5 Mon Sep 17 00:00:00 2001 Message-ID: <7a80edcbdd789d80fd6065e97e79c710626e41c5.1703960709.git.poptsov.artyom@gmail.com> In-Reply-To: References: From: "Artyom V. Poptsov" Date: Sat, 30 Dec 2023 21:24:42 +0300 Subject: [PATCH 2/2] gnu: Add go-github-com-peterbourgon-diskv. * gnu/packages/golang.scm (go-github-com-peterbourgon-diskv): New variable. Change-Id: I0292404c636c42389c11c0ed552bacbf02178f7c --- gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4d8dee6d3c..81771b1788 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -12954,6 +12954,33 @@ (define-public go-github-com-google-btree ordered, mutable data structure.") (license license:asl2.0))) +(define-public go-github-com-peterbourgon-diskv + (package + (name "go-github-com-peterbourgon-diskv") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/peterbourgon/diskv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pdy8f7bkm65gx4vknwcvfa619hknflqxkdlvmf427k2mzm91gmh")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/peterbourgon/diskv" + #:go ,go-1.18)) + (propagated-inputs (list go-github-com-google-btree)) + (home-page "https://github.com/peterbourgon/diskv") + (synopsis "Disk-backed key-value store") + (description + "Diskv (disk-vee) is a simple, persistent key-value store written in the Go +language. It starts with a simple API for storing arbitrary data on a filesystem by +key, and builds several layers of performance-enhancing abstraction on top. The end +result is a conceptually simple, but highly performant, disk-backed storage system.") + (license license:expat))) + (define-public go-github-com-gorilla-websocket (package (name "go-github-com-gorilla-websocket") -- 2.41.0