depot/third_party/nixpkgs/pkgs/development/ocaml-modules/kqueue/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

39 lines
830 B
Nix

{ 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 ];
};
}