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