depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mimic/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

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 ];
};
}