From b73498acb3feef139e9abf5e3d2a425d0afab73b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 7 Sep 2025 13:13:51 +0100 Subject: [PATCH] gnu: Add go-gopkg-in-inf-v0. * gnu/packages/golang-xyz.scm (go-gopkg-in-inf-v0): New variable. Change-Id: I1c22496d1447500760a555baa4de444e674205da --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e386f45cfc1..99b24a40a7d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -22958,6 +22958,32 @@ machine readable. It is modeled after the Go standard library's @code{io} and go-github-com-mattn-go-colorable go-golang-org-x-term)))) +(define-public go-gopkg-in-inf-v0 + (package + (name "go-gopkg-in-inf-v0") + (version "0.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-inf/inf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00k5iqjcp371fllqxncv7jkf80hn1zww92zm78cclbcn4ybigkng")))) + (build-system go-build-system) + (arguments + (list + #:import-path "gopkg.in/inf.v0" + ;; Tests are not copatiblw with Go 1.24+. + #:test-flags #~(list "-vet=off"))) + (home-page "https://github.com/go-inf/inf") + (synopsis "Infinite precision decimal arithmetic in Golang") + (description + "This package (type @code{inf.Dec}) implements a \"infinite-precision\" +decimal arithmetic.") + (license license:expat))) + (define-public go-gopkg-in-ini-v1 (package (name "go-gopkg-in-ini-v1")