From cf611327f49b143fbbc1682e6f2b15657d22fb17 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 11:18:30 -0500 Subject: [PATCH] gnu: Add go-github-com-aalpar-deheap. * gnu/packages/golang-xyz.scm (go-github-com-aalpar-deheap): New variable. Change-Id: I3b5bc439a4772a5f766ffaaba431f8f6cfcf42ef Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 83bbb6d60c30707febb1bc6fb70dca258486688d..b3598261c05506d08ac46648ef7aeef1957c34e4 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -837,6 +837,33 @@ substitution.") can be used programatically.") (license license:expat))) +(define-public go-github-com-aalpar-deheap + (package + (name "go-github-com-aalpar-deheap") + (version "0.0.0-20210914013432-0cc84d79dec3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aalpar/deheap") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1709nykin03n1adhh1kqx9j3w03awvd0p7bsim7p1xaqgdzqisq6")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/aalpar/deheap")) + (home-page "https://github.com/aalpar/deheap") + (synopsis "Doubly-ended heap") + (description + "Package deheap provides the implementation of a doubly ended heap. +Doubly ended heaps are heaps with two sides, a min side and a max side. Like +normal single-sided heaps, elements can be pushed onto and pulled off of a +deheap. Deheaps have an additional Pop function, @code{PopMax}, that returns +elements from the opposite side of the ordering.") + (license license:expat))) + (define-public go-github-com-abadojack-whatlanggo (package (name "go-github-com-abadojack-whatlanggo")