2020-05-29 06:06:01 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
2022-09-22 12:36:57 +00:00
|
|
|
, fmt, logs, lwt
|
|
|
|
, alcotest
|
|
|
|
}:
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-runtime";
|
2022-09-22 12:36:57 +00:00
|
|
|
inherit (functoria-runtime) src version;
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-24 00:07:29 +00:00
|
|
|
duneVersion = "3";
|
2020-11-15 13:44:38 +00:00
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
propagatedBuildInputs = [ ipaddr functoria-runtime fmt logs lwt ];
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest ];
|
2020-05-29 06:06:01 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|