at master 837 B view raw
1{ 2 buildDunePackage, 3 dune-configurator, 4 lib, 5 fetchurl, 6 ppx_expect, 7 ppx_optcomp, 8}: 9 10buildDunePackage rec { 11 pname = "kqueue"; 12 version = "0.4.0"; 13 14 minimalOCamlVersion = "4.12"; 15 16 src = fetchurl { 17 url = "https://github.com/anuragsoni/kqueue-ml/releases/download/${version}/kqueue-${version}.tbz"; 18 hash = "sha256-fJHhmAp0EFzR9JH93a+EHy1auwSBKZV/XcBQLCedJLc="; 19 }; 20 21 buildInputs = [ 22 dune-configurator 23 ppx_optcomp 24 ]; 25 26 checkInputs = [ 27 ppx_expect 28 ]; 29 30 doCheck = true; 31 32 meta = { 33 description = "OCaml bindings for kqueue event notification interface"; 34 homepage = "https://github.com/anuragsoni/kqueue-ml"; 35 changelog = "https://github.com/anuragsoni/kqueue-ml/blob/${version}/CHANGES.md"; 36 license = lib.licenses.bsd3; 37 maintainers = with lib.maintainers; [ sixstring982 ]; 38 }; 39}