nixpkgs/pkgs/development/ocaml-modules/carton/lwt.nix
2023-06-23 09:49:23 +02:00

49 lines
810 B
Nix

{ buildDunePackage, carton
, lwt, decompress, optint, bigstringaf
, alcotest, alcotest-lwt, cstruct, fmt, logs
, mirage-flow, result, rresult
, ke, base64, bos, checkseum, digestif, fpath
, stdlib-shims
, git-binary # pkgs.git
}:
buildDunePackage {
pname = "carton-lwt";
inherit (carton) version src postPatch;
duneVersion = "3";
propagatedBuildInputs = [
carton
lwt
decompress
optint
bigstringaf
];
# Tests fail with git 2.41
# see https://github.com/mirage/ocaml-git/issues/617
doCheck = false;
nativeCheckInputs = [
git-binary
];
checkInputs = [
alcotest
alcotest-lwt
cstruct
fmt
logs
mirage-flow
result
rresult
ke
base64
bos
checkseum
digestif
fpath
stdlib-shims
];
inherit (carton) meta;
}