8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
39 lines
799 B
Nix
39 lines
799 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, fmt, mirage-flow, cstruct, logs, ke, lwt
|
|
, alcotest, alcotest-lwt, bigstringaf
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mimic";
|
|
version = "0.0.4";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz";
|
|
sha256 = "sha256-1Wb2xufgGKp3FJ+FYjK45i9B5+HohdPX+w9Sw0ph5JY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fmt
|
|
lwt
|
|
mirage-flow
|
|
logs
|
|
];
|
|
|
|
doCheck = true;
|
|
checkInputs = [
|
|
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 ];
|
|
};
|
|
}
|