summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Scherer <roman@burningswell.com>2025-10-17 14:42:05 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:57:05 +0000
commit5b4396798da6b6dcd7aab1c604e2c4f9f63e7d81 (patch)
tree55242a93f7cf024d6357b2982172d976f8bcb21f
parent46d8a6a80937fb4bbe7711ce278c2edfdf9c2f44 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3c95cf279bb..7a1d68a11fa 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")