2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
2021-05-20 23:08:51 +00:00
|
|
|
, fmt, mirage-flow, result, rresult, cstruct, logs, ke, lwt
|
2021-02-05 17:12:51 +00:00
|
|
|
, alcotest, alcotest-lwt, bigstringaf, bigarray-compat
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mimic";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "0.0.3";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz";
|
|
|
|
sha256 = "e4743cd2e4f8242eb1ce9d8086fd2affba0eb6a62131309ffa279108bd3dbbcb";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
fmt
|
2021-05-20 23:08:51 +00:00
|
|
|
lwt
|
2021-02-05 17:12:51 +00:00
|
|
|
mirage-flow
|
|
|
|
result
|
|
|
|
rresult
|
|
|
|
logs
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
alcotest-lwt
|
|
|
|
bigstringaf
|
|
|
|
bigarray-compat
|
2021-04-05 15:23:46 +00:00
|
|
|
cstruct
|
2021-02-05 17:12:51 +00:00
|
|
|
ke
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A simple protocol dispatcher";
|
|
|
|
license = licenses.isc;
|
|
|
|
homepage = "https://github.com/mirage/ocaml-git";
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|