ocamlPackages.containers: init at 0.15

+49
+47
pkgs/development/ocaml-modules/containers/default.nix
··· 1 + { stdenv, fetchFromGitHub, ocaml, findlib, cppo, gen, sequence, qtest, ounit }: 2 + 3 + let version = "0.15"; in 4 + 5 + stdenv.mkDerivation { 6 + name = "ocaml-containers-${version}"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "c-cube"; 10 + repo = "ocaml-containers"; 11 + rev = "${version}"; 12 + sha256 = "13mdl8jp4ymg1wip7lqmh4224x4jnji3frm1ik55vvm3ac8caqng"; 13 + }; 14 + 15 + buildInputs = [ ocaml findlib cppo gen sequence qtest ounit ]; 16 + 17 + configureFlags = [ 18 + "--enable-unix" 19 + "--enable-thread" 20 + "--enable-bigarray" 21 + "--enable-advanced" 22 + "--enable-tests" 23 + "--disable-bench" 24 + ]; 25 + 26 + doCheck = true; 27 + checkTarget = "test"; 28 + 29 + createFindlibDestdir = true; 30 + 31 + meta = { 32 + homepage = https://github.com/c-cube/ocaml-containers; 33 + description = "A modular standard library focused on data structures"; 34 + longDescription = '' 35 + Containers is a standard library (BSD license) focused on data structures, 36 + combinators and iterators, without dependencies on unix. Every module is 37 + independent and is prefixed with 'CC' in the global namespace. Some modules 38 + extend the stdlib (e.g. CCList provides safe map/fold_right/append, and 39 + additional functions on lists). 40 + 41 + It also features optional libraries for dealing with strings, and 42 + helpers for unix and threads. 43 + ''; 44 + license = stdenv.lib.licenses.bsd2; 45 + platforms = ocaml.meta.platforms; 46 + }; 47 + }
+2
pkgs/top-level/all-packages.nix
··· 4637 4637 4638 4638 config-file = callPackage ../development/ocaml-modules/config-file { }; 4639 4639 4640 + containers = callPackage ../development/ocaml-modules/containers { }; 4641 + 4640 4642 cpdf = callPackage ../development/ocaml-modules/cpdf { }; 4641 4643 4642 4644 cppo = callPackage ../development/tools/ocaml/cppo { };