From a68707d3e746648903de0db3d96d275a7107f6ab Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 18:12:42 -0500 Subject: [PATCH] gnu: Add go-github-com-zeebo-float16. * gnu/packages/golang-xyz.scm (go-github-com-zeebo-float16): New variable. Change-Id: Ic1d61777f48bebe6396703759afae7d43dc2541e Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index e476a45bba1e354fd0fee35a46334c2d1a7c4840..ad91da2fda3cc9413efe25403e1ede7ed4617fa9 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -23878,6 +23878,30 @@ utilities for cty Golang module.") (native-inputs (list go-github-com-zeebo-assert)))) +(define-public go-github-com-zeebo-float16 + (package + (name "go-github-com-zeebo-float16") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zeebo/float16") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06qh3fchm5a12lx8kq7nlmfjfvla9smh3zz8s7w083rjlgpyanyl")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/zeebo/float16")) + (home-page "https://github.com/zeebo/float16") + (synopsis "16 bit floats in Golang") + (description + "This package implements 16 bit floats that can store numbers like +@code{1.02e12} for exponents in @code{[-15, 15]}.") + (license license:asl2.0))) + (define-public go-github-com-zitadel-logging (package (name "go-github-com-zitadel-logging")