bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
40 lines
818 B
Nix
40 lines
818 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, fmt, mirage-flow, cstruct, logs, ke, lwt
|
|
, alcotest, alcotest-lwt, bigstringaf
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mimic";
|
|
version = "0.0.6";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz";
|
|
sha256 = "sha256-gVvBj4NqqKR2mn944g9F0bFZ8Me+WC87skti0dBW3Cg=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fmt
|
|
lwt
|
|
mirage-flow
|
|
logs
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
alcotest
|
|
alcotest-lwt
|
|
bigstringaf
|
|
cstruct
|
|
ke
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Simple protocol dispatcher";
|
|
license = licenses.isc;
|
|
homepage = "https://github.com/mirage/ocaml-git";
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
};
|
|
}
|