1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

gnu: Add go-github-com-asdine-storm-v3.

* gnu/packages/golang-xyz.scm (go-github-com-asdine-storm-v3): New variable.

Change-Id: I39c296c1a0c60166ea1791486c4a6fc3cf79996c
This commit is contained in:
Sharlatan Hellseher 2025-02-04 20:51:48 +00:00
parent 7d72c72667
commit 990490f4b3
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1572,6 +1572,44 @@ collections. It was based on
@url{https://github.com/chriso/validator.js,validator.js}.")
(license license:expat)))
(define-public go-github-com-asdine-storm-v3
(package
(name "go-github-com-asdine-storm-v3")
(version "3.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/asdine/storm")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07913m4nxy7cbc9q6ldqvxx60rh32b4djyvcp9bxwbb3c4al3fh4"))
(modules '((guix build utils)))
(snippet
#~(begin
;; It requires v4 but import it as v1.
(substitute* (find-files "." "\\.go$")
(("github.com/vmihailenco/msgpack")
"github.com/vmihailenco/msgpack/v4"))))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/asdine/storm/v3"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-golang-protobuf
go-github-com-sereal-sereal-go-sereal
go-github-com-vmihailenco-msgpack-v4
go-go-etcd-io-bbolt))
(home-page "https://github.com/asdine/storm")
(synopsis "BoltDB toolkit for Golang")
(description
"Storm is a toolkit for @url{https://github.com/coreos/bbolt, BoltDB},
providing various methods to work with it.")
(license license:expat)))
(define-public go-github-com-atotto-clipboard
(package
(name "go-github-com-atotto-clipboard")