2020-05-29 06:06:01 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
|
|
|
, fmt, logs, ocaml_lwt, alcotest }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-runtime";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "3.10.4";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-11-15 13:44:38 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
|
2021-08-05 21:33:18 +00:00
|
|
|
sha256 = "c2ea22b6faf16bed783cac0e0bafd87f321756a91798f56c9a930f0edb5d9116";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|