1693fb2285
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
25 lines
773 B
Nix
25 lines
773 B
Nix
{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
|
|
, fmt, logs, ocaml_lwt, alcotest }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-runtime";
|
|
version = "3.8.1";
|
|
|
|
minimumOCamlVersion = "4.06";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
|
|
sha256 = "1sx9df041jb2rdrsibybifhml6h6kpzw9d2bw6vvv0ml500070ww";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|