Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
782 B
Nix
38 lines
782 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, mirage-flow, cstruct, logs, ke, lwt
|
|
, alcotest, alcotest-lwt, bigstringaf
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mimic";
|
|
version = "0.0.9";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/dinosaure/mimic/releases/download/${version}/mimic-${version}.tbz";
|
|
hash = "sha256-lU3xzrVIqSKnhUQIhaXRamr39zXWw3DtNdM5EUtp4p8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|