guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/45: gnu: Add ocaml-bheap.


From: guix-commits
Subject: 36/45: gnu: Add ocaml-bheap.
Date: Fri, 17 Feb 2023 10:49:39 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 991a289a023c1f466564c5a878f98d7f3ae6a8b9
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:25 2023 +0100

    gnu: Add ocaml-bheap.
    
    * gnu/packages/ocaml.scm (ocaml-bheap): New variable.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 5b915a532a..a1f691c655 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3107,6 +3107,28 @@ The client and the server libraries have sets of 
unit-tests.")
 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 git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/backtracking/bheap";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b8md5zl4yz7j62jz0bf7lwyl0pyqkxqx36ghkgkbkxb4zzggfj1"))))
+    (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]