From 366a59cdc312601b1d711a066e858bbf49bb9885 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 25 Mar 2022 18:44:01 +0100 Subject: [PATCH] ocamlPackages.unionFind: init at 20220122 --- .../ocaml-modules/unionFind/default.nix | 24 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/ocaml-modules/unionFind/default.nix diff --git a/pkgs/development/ocaml-modules/unionFind/default.nix b/pkgs/development/ocaml-modules/unionFind/default.nix new file mode 100644 index 00000000000..aa1d5e82362 --- /dev/null +++ b/pkgs/development/ocaml-modules/unionFind/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitLab, buildDunePackage }: + +buildDunePackage rec { + pname = "unionFind"; + version = "20220122"; + + useDune2 = true; + minimalOCamlVersion = "4.05"; + + src = fetchFromGitLab { + domain = "gitlab.inria.fr"; + owner = "fpottier"; + repo = pname; + rev = version; + sha256 = "sha256:0hdh56rbg8vfjd61q09cbmh8l5wmry5ykivg7gsm0v5ckkb3531r"; + }; + + meta = { + description = "Implementations of the union-find data structure"; + license = lib.licenses.lgpl2Only; + inherit (src.meta) homepage; + maintainers = [ lib.maintainers.vbgl ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 5a4a03fda06..9b2183f6358 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1406,6 +1406,8 @@ let stdint = callPackage ../development/ocaml-modules/stdint { }; + unionFind = callPackage ../development/ocaml-modules/unionFind { }; + unstrctrd = callPackage ../development/ocaml-modules/unstrctrd { }; uucd = callPackage ../development/ocaml-modules/uucd { };