2020-05-29 06:06:01 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
|
|
|
, fmt, logs, ocaml_lwt, alcotest }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-runtime";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "3.8.0";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.06";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "18v37arzy7gkz5qcy34k0l8g69146nysjv0h1jcym0h4xxy0bxir";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ipaddr functoria-runtime fmt logs ocaml_lwt ];
|
|
|
|
checkInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mirage/mirage";
|
|
|
|
description = "The base MirageOS runtime library, part of every MirageOS unikernel";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|