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
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
ocaml,
|
|
ounit,
|
|
qtest,
|
|
qcheck,
|
|
num,
|
|
camlp-streams,
|
|
doCheck ? lib.versionAtLeast ocaml.version "4.08",
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "batteries";
|
|
version = "3.9.0";
|
|
|
|
minimalOCamlVersion = "4.05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-batteries-team";
|
|
repo = "batteries-included";
|
|
rev = "v${version}";
|
|
hash = "sha256-+PGfExdvp3WyX1s8dLTBYp1SoUOBkzrxyqMUuaW6Bto=";
|
|
};
|
|
|
|
nativeCheckInputs = [ qtest ];
|
|
checkInputs = [
|
|
ounit
|
|
qcheck
|
|
];
|
|
propagatedBuildInputs = [
|
|
camlp-streams
|
|
num
|
|
];
|
|
|
|
inherit doCheck;
|
|
checkTarget = "test";
|
|
|
|
meta = {
|
|
homepage = "https://ocaml-batteries-team.github.io/batteries-included/hdoc2/";
|
|
description = "OCaml Batteries Included";
|
|
longDescription = ''
|
|
A community-driven effort to standardize on an consistent, documented,
|
|
and comprehensive development platform for the OCaml programming
|
|
language.
|
|
'';
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = [
|
|
lib.maintainers.maggesi
|
|
];
|
|
};
|
|
}
|