ocamlPacakges.domain-local-await: init at 0.2.0

This commit is contained in:
toastal 2023-06-04 13:37:00 +07:00
parent bf7e951996
commit b81b9b0df9
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildDunePackage
, fetchurl
, mdx
}:
buildDunePackage rec {
pname = "domain-local-await";
version = "0.2.0";
minimalOCamlVersion = "5.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "2DCJsI3nGPtbXnU8jRvzR1iNAkNuekVy4Lid1qnHXDo=";
};
checkInputs = [
mdx
];
nativeCheckInputs = [
mdx.bin
];
meta = {
homepage = "https://github.com/ocaml-multicore/ocaml-${pname}";
changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md";
description = "A scheduler independent blocking mechanism";
license = with lib.licenses; [ bsd0 ];
maintainers = with lib.maintainers; [ toastal ];
};
}

View File

@ -345,6 +345,8 @@ let
dolog = callPackage ../development/ocaml-modules/dolog { };
domain-local-await = callPackage ../development/ocaml-modules/domain-local-await { };
domain-name = callPackage ../development/ocaml-modules/domain-name { };
domainslib = callPackage ../development/ocaml-modules/domainslib { };