ocamlPackages.iomux: init at 0.3

This commit is contained in:
toastal 2023-05-06 20:20:02 +07:00
parent 8201afb77f
commit bf7e951996
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, fetchurl
, buildDunePackage
, dune-configurator
, alcotest
}:
buildDunePackage rec {
pname = "iomux";
version = "0.3";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/haesbaert/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
sha256 = "zNJ3vVOv0BEpHLiC8Y610F87uiMlfYNo28ej0H+EU+c=";
};
buildInputs = [
dune-configurator
];
checkInputs = [
alcotest
];
meta = {
homepage = "https://github.com/haesbaert/ocaml-${pname}";
description = "IO Multiplexers for OCaml";
license = with lib.licenses; [ isc ];
maintainers = with lib.maintainers; [ toastal ];
};
}

View file

@ -663,6 +663,8 @@ let
integers_stubs_js = callPackage ../development/ocaml-modules/integers_stubs_js { };
iomux = callPackage ../development/ocaml-modules/iomux { };
io-page = callPackage ../development/ocaml-modules/io-page { };
ipaddr = callPackage ../development/ocaml-modules/ipaddr { };