From 99908b5844ebe933cda6be44f53288d29369ebb4 Mon Sep 17 00:00:00 2001 From: Ashvith Shetty Date: Tue, 15 Apr 2025 23:47:32 +0530 Subject: [PATCH] gnu: Add go-github-com-kamstrup-intmap. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang-xyz.scm (go-github-com-kamstrup-intmap): New variable. Change-Id: I7196f9c57d4ccccae2022e4524b64ce6f923d35d Signed-off-by: Ludovic Courtès --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 9bf279fdc7..a839f2f168 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -9545,6 +9545,31 @@ ansi.") customized globally.") (license license:expat))) +(define-public go-github-com-kamstrup-intmap + (package + (name "go-github-com-kamstrup-intmap") + (version "0.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kamstrup/intmap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w9masbm9x2p4njxngr5sgqbjnwdwxv3f68yd3wgrrrjbfw5lh44")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.23 + #:import-path "github.com/kamstrup/intmap")) + (home-page "https://github.com/kamstrup/intmap") + (synopsis "Fast hashmap with integer keys for Golang") + (description + "@code{intmap} is a fast hashmap implementation for Golang, specialized for maps with +integer type keys.") + (license license:bsd-2))) + ;; Some packages (Yggdrasil) need it to compile it's a tiny package and it's ;; easier to bundle it than to patch it out. (define-public go-github-com-kardianos-minwinsvc