ocamlPackages.aches: init at 1.0.0

This commit is contained in:
Laurent Canis 2023-04-28 10:46:52 -04:00 committed by Ulrik Strid
parent 09a21ed0ac
commit 1d35a119c7
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ lib, buildDunePackage, ringo }:
buildDunePackage {
pname = "aches";
inherit (ringo) src version;
propagatedBuildInputs = [
ringo
];
meta = {
description = "Caches (bounded-size stores) for in-memory values and for resources";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View file

@ -0,0 +1,17 @@
{ lib, buildDunePackage, ringo, aches, lwt }:
buildDunePackage {
pname = "aches-lwt";
inherit (ringo) src version;
propagatedBuildInputs = [
aches
lwt
];
meta = {
description = "Caches (bounded-size stores) for Lwt promises";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View file

@ -9,6 +9,8 @@ let
inherit ocaml;
### A ###
aches = callPackage ../development/ocaml-modules/aches { };
aches-lwt = callPackage ../development/ocaml-modules/aches/lwt.nix { };
afl-persistent = callPackage ../development/ocaml-modules/afl-persistent { };