guix-patches
[Top][All Lists]
Advanced

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

[bug#60120] [PATCH 06/28] gnu: Add ocaml-psq.


From: pukkamustard
Subject: [bug#60120] [PATCH 06/28] gnu: Add ocaml-psq.
Date: Fri, 16 Dec 2022 13:25:05 +0000

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7abb31d183..261de17dbb 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2720,6 +2720,28 @@ (define-public ocaml-mmap
 @command{Unix.map_file} function added in OCaml >= 4.06.")
     (license (list license:qpl license:lgpl2.0))))
 
+(define-public ocaml-psq
+  (package
+    (name "ocaml-psq")
+    (version "0.2.0")
+    (home-page "https://github.com/pqwy/psq";)
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url home-page)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256 (base32
+                 "1cvib0z9ndh83mz9v2xymx8nzvhb9w1yvccp4nx3p8zqsgcnn7d8"))))
+    (build-system dune-build-system)
+    (native-inputs (list ocaml-qcheck ocaml-alcotest))
+    (synopsis "Functional Priority Search Queues for OCaml")
+    (description
+     "This library provides Functional Priority Search Queues for OCaml.
+Typical applications are searches, schedulers and caches.")
+    (license license:isc)))
+
 (define-public ocaml-lwt
   (package
     (name "ocaml-lwt")
-- 
2.38.1






reply via email to

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