ocamlPackages.kqueue: init at 0.3.0

This commit is contained in:
Trent Small 2023-12-22 12:07:34 -07:00 committed by Vincent Laporte
parent 87162c40ea
commit 691d59c589
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ buildDunePackage
, dune-configurator
, lib
, fetchurl
, ppx_expect
, ppx_optcomp
}:
buildDunePackage rec {
pname = "kqueue";
version = "0.3.0";
minimalOCamlVersion = "4.12";
src = fetchurl {
url = "https://github.com/anuragsoni/kqueue-ml/releases/download/${version}/kqueue-${version}.tbz";
hash = "sha256-MKRCyN6q9euTEgHIhldGGH8FwuLblWYNG+SiCMWBP6Y=";
};
buildInputs = [
dune-configurator
ppx_optcomp
];
checkInputs = [
ppx_expect
];
doCheck = true;
meta = {
description = "OCaml bindings for kqueue event notification interface";
homepage = "https://github.com/anuragsoni/kqueue-ml";
changelog = "https://github.com/anuragsoni/kqueue-ml/blob/${version}/CHANGES.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}

View file

@ -891,6 +891,8 @@ let
kicadsch = callPackage ../development/ocaml-modules/kicadsch { };
kqueue = callPackage ../development/ocaml-modules/kqueue { };
### L ###
lablgl = callPackage ../development/ocaml-modules/lablgl { };