2020-05-21 00:55:13 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
|
|
|
, fmt, logs, ocaml_lwt, alcotest }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-runtime";
|
2021-07-24 20:28:04 +02:00
|
|
|
version = "3.10.4";
|
2020-05-21 00:55:13 +02:00
|
|
|
|
2020-11-06 21:55:17 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-10-25 16:17:55 +01:00
|
|
|
minimumOCamlVersion = "4.08";
|
2020-05-21 00:55:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
|
2021-07-24 20:28:04 +02:00
|
|
|
sha256 = "c2ea22b6faf16bed783cac0e0bafd87f321756a91798f56c9a930f0edb5d9116";
|
2020-05-21 00:55:13 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|