guix-patches
[Top][All Lists]
Advanced

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

[bug#60120] [PATCH 09/28] gnu: Add ocaml-hmap.


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

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7118f88318..6a7abed03c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2767,6 +2767,32 @@ (define-public ocaml-optint
 architectures.")
     (license license:isc)))
 
+(define-public ocaml-hmap
+  (package
+    (name "ocaml-hmap")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri "http://erratique.ch/software/hmap/releases/hmap-0.8.1.tbz";)
+       (sha256
+       (base32 "10xyjy4ab87z7jnghy0wnla9wrmazgyhdwhr4hdmxxdn28dxn03a"))))
+    (build-system ocaml-build-system)
+    (arguments
+     `(#:build-flags
+       (list "build" "--tests" "true")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (native-inputs (list ocaml-topkg ocamlbuild opam))
+    (home-page "http://erratique.ch/software/hmap";)
+    (synopsis "Heterogeneous value maps for OCaml")
+    (description
+     "Hmap provides heterogeneous value maps for OCaml.  These maps bind keys 
to
+values with arbitrary types.  Keys witness the type of the value they are bound
+to which allows to add and lookup bindings in a type safe manner. ")
+    (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]