diff --git a/pkgs/development/ocaml-modules/cachet/lwt.nix b/pkgs/development/ocaml-modules/cachet/lwt.nix new file mode 100644 index 000000000000..6f365e5ac09d --- /dev/null +++ b/pkgs/development/ocaml-modules/cachet/lwt.nix @@ -0,0 +1,21 @@ +{ + buildDunePackage, + cachet, + lwt, + alcotest, +}: + +buildDunePackage { + pname = "cachet-lwt"; + inherit (cachet) src version; + propagatedBuildInputs = [ + cachet + lwt + ]; + doCheck = true; + checkInputs = [ alcotest ]; + + meta = cachet.meta // { + description = "A simple cache system for mmap and lwt"; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 41802f6ac19d..0a1d544a9d95 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -163,6 +163,8 @@ let cachet = callPackage ../development/ocaml-modules/cachet { }; + cachet-lwt = callPackage ../development/ocaml-modules/cachet/lwt.nix { }; + cairo2 = callPackage ../development/ocaml-modules/cairo2 { }; calendar = callPackage ../development/ocaml-modules/calendar { };