diff options
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r-- | gnu/packages/ocaml.scm | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 7fad276b4e..a9842ff4fa 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org> ;;; Copyright © 2023 Csepp <raingloom@riseup.net> -;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com> +;;; Copyright © 2023, 2024 Foundation Devices, Inc. <hello@foundation.xyz> ;;; Copyright © 2023 Arnaud DABY-SEESARAM <ds-ac@nanein.fr> ;;; Copyright © 2024 Sören Tempel <soeren@soeren-tempel.net> ;;; @@ -3186,6 +3186,34 @@ OCaml with fibers.") (define-public ocaml5.0-eio-luv (package-with-ocaml5.0 ocaml-eio-luv)) +(define-public ocaml-unionfind + (package + (name "ocaml-unionfind") + (version "20220122") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.inria.fr/fpottier/unionfind") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0hdh56rbg8vfjd61q09cbmh8l5wmry5ykivg7gsm0v5ckkb3531r")))) + (build-system dune-build-system) + (arguments + (list ;; The test allocates an Array that is too large for OCaml when on a + ;; 32-bit architecture. + #:tests? (target-64bit?))) + (home-page "https://gitlab.inria.fr/fpottier/unionFind") + (synopsis "Union-find data structure") + (description "This package provides two union-find data structure +implementations for OCaml. Both implementations are based on disjoint sets +forests, with path compression and linking-by-rank, so as to guarantee good +asymptotic complexity: every operation requires a quasi-constant number of +accesses to the store.") + ;; Version 2 only, with linking exception. + (license license:lgpl2.0))) + (define-public ocaml-uring (package (name "ocaml-uring") @@ -3464,14 +3492,14 @@ encoded in a resizable array.") (define-public ocaml-luv (package (name "ocaml-luv") - (version "0.5.11") + (version "0.5.12") (source (origin (method url-fetch) (uri (string-append "https://github.com/aantron/luv/releases/download/" version "/luv-" version ".tar.gz")) (sha256 (base32 - "0hrsi8n2l31bcwgj847df4chjgqb9lmwkaky8fvvi15k25rz9v6c")) + "1h2n9iij4mh60sy3g437p1xwqyqpyw72fgh4417d8j9ahq46m7vn")) (modules '((guix build utils))) (snippet '(begin @@ -8570,8 +8598,7 @@ generate OCaml code from .glade files), libpanel, librsvg and quartz.") (package (inherit lablgtk3) (name "ocaml-lablgtk3-sourceview3") - (propagated-inputs (list lablgtk3)) - (native-inputs (list gtksourceview-3 pkg-config)) + (propagated-inputs (list gtksourceview-3 lablgtk3)) (arguments `(#:package "lablgtk3-sourceview3")) (synopsis "OCaml interface to GTK+ gtksourceview library") |