1 { lib, fetchFromGitHub, buildDunePackage, ocaml
4 , gen, iter, qcheck-core, uutf, yojson
11 src = fetchFromGitHub {
13 repo = "ocaml-containers";
15 sha256 = "sha256-uQyKBSXgf3kGx5HvS2VQrrkh0WqNZfxr5j8tTRjeTX4=";
18 buildInputs = [ dune-configurator ];
19 propagatedBuildInputs = [ either seq ];
21 checkInputs = [ gen iter qcheck-core uutf yojson ];
23 doCheck = lib.versionAtLeast ocaml.version "4.08";
26 homepage = "https://github.com/c-cube/ocaml-containers";
27 description = "A modular standard library focused on data structures";
29 Containers is a standard library (BSD license) focused on data structures,
30 combinators and iterators, without dependencies on unix. Every module is
31 independent and is prefixed with 'CC' in the global namespace. Some modules
32 extend the stdlib (e.g. CCList provides safe map/fold_right/append, and
33 additional functions on lists).
35 It also features optional libraries for dealing with strings, and
36 helpers for unix and threads.
38 license = lib.licenses.bsd2;