From fcb97278319cfa28b5be2c399b74a58c6fb73ddd Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 18 Dec 2024 03:13:48 +0000 Subject: [PATCH] gnu: Add go-modernc-org-memory. * gnu/packages/golang-xyz.scm (go-modernc-org-memory): New variable. Change-Id: Id561b8c4a794cb5da1e784c22daec1f6f9004e89 --- 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 ccc95408ec..a6c9091850 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -10796,6 +10796,30 @@ (define-public go-k8s-io-utils @url{https://pkg.go.dev/std#stdlib,Go standard libs}.") (license license:asl2.0))) +(define-public go-modernc-org-memory + (package + (name "go-modernc-org-memory") + (version "1.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/cznic/memory") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "066pzk0i1jxahialzp97ra0k0f191y1756sgppiw50zkpnpwzjxr")))) + (build-system go-build-system) + (arguments + (list + #:import-path "modernc.org/memory")) + (propagated-inputs + (list go-modernc-org-mathutil)) + (home-page "https://gitlab.com/cznic/memory") + (synopsis "Memory allocator implementation") + (description "Package memory implements a memory allocator.") + (license license:bsd-3))) + (define-public go-mvdan-cc-editorconfig (package (name "go-mvdan-cc-editorconfig")