Subject: [bug#60673] [PATCH 36/39] gnu: Add ocaml-bheap.

From: Csepp <[email-masked]>
Date: Mon, 9 Jan 2023 01:35:26 +0100

From: raingloom <[email-masked]>

* gnu/packages/ocaml.scm (ocaml-bheap): New variable.
---
 gnu/packages/ocaml.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f63aa138d2..b3a4e5e01d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3109,6 +3109,26 @@ (define-public ocaml-io-page
 avoid copying the data contained within the page.")
     (license license:isc)))
 
+(define-public ocaml-bheap
+  (package
+    (name "ocaml-bheap")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri
+               "https://github.com/backtracking/bheap/releases/download/2.0.0/bheap-2.0.0.tbz")
+              (sha256
+               (base32
+                "0dpnpla20lgiicrxl2432m2fcr6y68msw3pnjxqb11xw6yrdfhsz"))))
+    (build-system dune-build-system)
+    (native-inputs (list ocaml-stdlib-shims))
+    (home-page "https://github.com/backtracking/bheap")
+    (synopsis "Priority queues")
+    (description
+     "Traditional implementation of priority queues using a binary heap
+encoded in a resizable array.")
+    (license license:lgpl2.1)))
+
 (define-public ocaml-luv
   (package
     (name "ocaml-luv")
-- 
2.38.1