From 10ecec291eac4a7d762fbb527734e9bf5fa9be85 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 29 Jul 2023 01:19:53 +0800 Subject: [PATCH] gnu: Add go-github-com-elliotchance-orderedmap. * gnu/packages/golang-xyz.scm (go-github-com-elliotchance-orderedmap): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I44518a6a5371e5312b472aaa2c8d9a417d621924 --- 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 cbb7c394d81f69bcac960ac5b656f52a9f25045d..d2e58001cfeb8f2061507eb922ee8b3ff5ded075 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -462,6 +462,31 @@ Mark} detection.") atimes for files.") (license license:expat))) +(define-public go-github-com-elliotchance-orderedmap + (package + (name "go-github-com-elliotchance-orderedmap") + (version "1.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elliotchance/orderedmap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06gq5hsgfmzfr46wds366ghyn16qkygyz83vrsgargf4l7db9zg7")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/elliotchance/orderedmap")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/elliotchance/orderedmap") + (synopsis "Go ordered map library") + (description + "This package provides a ordered map library that maintains amortized O(1) +for @code{Set}, @code{Get}, @code{Delete} and @code{Len}.") + (license license:expat))) + (define-public go-github-com-gabriel-vasile-mimetype (package (name "go-github-com-gabriel-vasile-mimetype")