2020-05-20 23:55:13 +01:00
|
|
|
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
|
|
|
, fmt, logs, ocaml_lwt, alcotest }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-runtime";
|
2020-12-04 13:53:56 +00:00
|
|
|
version = "3.10.1";
|
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";
|
2020-12-04 13:53:56 +00:00
|
|
|
sha256 = "1glmsz2znhfkk4w6d6nsr7q5jqvivhmi8zwagzw2d8pah0c8bhm4";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|