Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.3 KiB
Nix
61 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
ocaml,
|
|
dune-configurator,
|
|
either,
|
|
seq,
|
|
gen,
|
|
iter,
|
|
qcheck-core,
|
|
uutf,
|
|
yojson,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
version = "3.16";
|
|
pname = "containers";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "c-cube";
|
|
repo = "ocaml-containers";
|
|
rev = "v${version}";
|
|
hash = "sha256-WaHAZRLjaEJUba/I2r3Yof/iUqA3PFUuVbzm88izG1k=";
|
|
};
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [
|
|
either
|
|
seq
|
|
];
|
|
|
|
checkInputs = [
|
|
gen
|
|
iter
|
|
qcheck-core
|
|
uutf
|
|
yojson
|
|
];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/c-cube/ocaml-containers";
|
|
description = "Modular standard library focused on data structures";
|
|
longDescription = ''
|
|
Containers is a standard library (BSD license) focused on data structures,
|
|
combinators and iterators, without dependencies on unix. Every module is
|
|
independent and is prefixed with 'CC' in the global namespace. Some modules
|
|
extend the stdlib (e.g. CCList provides safe map/fold_right/append, and
|
|
additional functions on lists).
|
|
|
|
It also features optional libraries for dealing with strings, and
|
|
helpers for unix and threads.
|
|
'';
|
|
license = lib.licenses.bsd2;
|
|
};
|
|
}
|