guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5b4396798da6b6dcd7aab1c604e2c4f9f63e7d81
Author: Roman Scherer <[email protected]>
AuthorDate: Fri Oct 17 14:42:05 2025 +0000
gnu: Add go-modernc-org-libc.
* gnu/packages/golang-xyz.scm (go-modernc-org-libc): New variable.
Change-Id: Id6927a67e5efed071b952b36b025e6a788d0b259
Change-Id: Ibc0070816161dc7c6250f289ce139011f039ed62
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3c95cf279b..7a1d68a11f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -24437,6 +24437,41 @@ recognizers) at run time.")
(description "Package memory implements a memory allocator.")
(license license:bsd-3)))
+(define-public go-modernc-org-libc
+ (package
+ (name "go-modernc-org-libc")
+ (version "1.66.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/cznic/libc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01xj0flqcy5sx75ddcgjvwilbi87gn9wy33k76p88m5f820ldf4d"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "modernc.org/libc"
+ ;; Tests require modernc.org/ccgo/v4/lib, which is not packaged yet
+ #:tests? #f))
+ (propagated-inputs
+ (list go-github-com-dustin-go-humanize
+ go-github-com-google-uuid
+ go-github-com-ncruces-go-strftime
+ go-github-com-remyoudompheng-bigfft
+ go-golang-org-x-exp
+ go-golang-org-x-sys
+ go-modernc-org-mathutil
+ go-modernc-org-memory))
+ (home-page "https://modernc.org/libc")
+ (synopsis "C standard library implementation in Go")
+ (description
+ "Package libc provides a C standard library implementation for use
+with ccgo-generated code.")
+ (license license:bsd-3)))
+
(define-public go-modernc-org-opt
(package
(name "go-modernc-org-opt")