at master 34 lines 680 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 dune-configurator, 6 alcotest, 7}: 8 9buildDunePackage rec { 10 pname = "iomux"; 11 version = "0.4"; 12 13 minimalOCamlVersion = "4.08"; 14 15 src = fetchurl { 16 url = "https://github.com/haesbaert/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz"; 17 hash = "sha256-Hjk/rlWUdoSMXHBSUHaxEHDoBqVJ7rrghLBGqXcrqzU="; 18 }; 19 20 buildInputs = [ 21 dune-configurator 22 ]; 23 24 checkInputs = [ 25 alcotest 26 ]; 27 28 meta = { 29 homepage = "https://github.com/haesbaert/ocaml-${pname}"; 30 description = "IO Multiplexers for OCaml"; 31 license = with lib.licenses; [ isc ]; 32 maintainers = with lib.maintainers; [ toastal ]; 33 }; 34}