forked from mirrors/nixpkgs
28 lines
794 B
Nix
28 lines
794 B
Nix
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
|
, fmt, logs, ocaml_lwt, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-runtime";
|
|
version = "3.10.1";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.08";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
|
|
sha256 = "1glmsz2znhfkk4w6d6nsr7q5jqvivhmi8zwagzw2d8pah0c8bhm4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|