a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
40 lines
826 B
Nix
40 lines
826 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;
|
|
nativeCheckInputs = [
|
|
alcotest
|
|
alcotest-lwt
|
|
bigstringaf
|
|
cstruct
|
|
ke
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A simple protocol dispatcher";
|
|
license = licenses.isc;
|
|
homepage = "https://github.com/mirage/ocaml-git";
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
};
|
|
}
|