Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
1008 B
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
base_quickcheck ? null,
capnproto,
ocplib-endian,
ounit2,
res,
result,
stdint,
stdio,
}:
buildDunePackage rec {
pname = "capnp";
version = "3.6.0";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub {
owner = "capnproto";
repo = "capnp-ocaml";
rev = "v${version}";
hash = "sha256-G4B1llsHnGcuGIarDB248QMaRBvS47IEQB5B93wY7nA=";
};
nativeBuildInputs = [
capnproto
];
buildInputs = [
stdio
];
propagatedBuildInputs = [
ocplib-endian
res
result
stdint
];
checkInputs = [
base_quickcheck
ounit2
];
doCheck = true;
meta = {
description = "OCaml code generation plugin for the Cap'n Proto serialization framework";
homepage = "https://github.com/capnproto/capnp-ocaml";
changelog = "https://github.com/capnproto/capnp-ocaml/blob/${version}/CHANGES.md";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}