Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 40 lines 820 B view raw
1{ lib, buildDunePackage, fetchurl 2, fmt, mirage-flow, cstruct, logs, ke, lwt 3, alcotest, alcotest-lwt, bigstringaf 4}: 5 6buildDunePackage rec { 7 pname = "mimic"; 8 version = "0.0.6"; 9 10 minimalOCamlVersion = "4.08"; 11 duneVersion = "3"; 12 13 src = fetchurl { 14 url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz"; 15 sha256 = "sha256-gVvBj4NqqKR2mn944g9F0bFZ8Me+WC87skti0dBW3Cg="; 16 }; 17 18 propagatedBuildInputs = [ 19 fmt 20 lwt 21 mirage-flow 22 logs 23 ]; 24 25 doCheck = true; 26 checkInputs = [ 27 alcotest 28 alcotest-lwt 29 bigstringaf 30 cstruct 31 ke 32 ]; 33 34 meta = with lib; { 35 description = "A simple protocol dispatcher"; 36 license = licenses.isc; 37 homepage = "https://github.com/mirage/ocaml-git"; 38 maintainers = [ maintainers.sternenseemann ]; 39 }; 40}