gnu: Add ocaml-psq.

* gnu/packages/ocaml.scm (ocaml-psq): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
pukkamustard 2022-12-16 13:25:05 +00:00 committed by Julien Lepiller
parent 642cf11aa2
commit a8e1dc8edf
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -2723,6 +2723,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.1")
(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
"0ahxbzkbq5sw8sqv31c2lil2zny4076q8b0dc7h5slq7i2r23d79"))))
(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")