depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mimic/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

40 lines
820 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;
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 ];
};
}