sharlatan pushed a commit to branch go-team in repository guix. commit 3c43fdebbbded2294324d059572c3b3de03af247 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Thu Feb 13 12:09:04 2025 +0000
gnu: Add go-go-mau-fi-util. * gnu/packages/golang-xyz.scm (go-go-mau-fi-util): New variable. Change-Id: Ieebdf29b306a8918e90d69e0ba4a887628fc1dd0 --- gnu/packages/golang-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e38945cb21..6b0f31015e 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -16618,6 +16618,45 @@ for projects that don't require a full database server such as Postgres or MySQL.") (license license:expat))) +(define-public go-go-mau-fi-util + (package + (name "go-go-mau-fi-util") + (version "0.8.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mautrix/go-util") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zzkrbwgbxfppsxjck8qgj4xxzpiq25sx4p3zwjh6s1yz3kfb97p")))) + (build-system go-build-system) + (arguments + (list + #:import-path "go.mau.fi/util" + ;; dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp + ;; [::1]:58818->[::1]:53: read: connection refused + #:test-flags #~(list "-skip" "TestAdd_Full|TestFullyQualify_Full"))) + (native-inputs + (list go-github-com-data-dog-go-sqlmock + go-github-com-stretchr-testify)) + (propagated-inputs + (list go-github-com-mattn-go-sqlite3 + go-github-com-petermattis-goid + go-github-com-rs-zerolog + go-golang-org-x-exp + go-golang-org-x-sys + go-golang-org-x-text + go-google-golang-org-protobuf + go-gopkg-in-yaml-v3)) + (home-page "https://go.mau.fi/util") + (synopsis "Golang utilities used by mautrix-go and bridges") + (description + "This package provides various Go utilities used by mautrix-go, bridges +written in Go, as well as some other related libraries like whatsmeow.") + (license license:mpl2.0))) + (define-public go-go-mongodb-org-mongo-driver (package (name "go-go-mongodb-org-mongo-driver")