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