3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/mirage/runtime.nix
2020-05-21 21:11:21 +02:00

26 lines
773 B
Nix

{ lib, buildDunePackage, fetchurl, ipaddr, functoria-runtime
, fmt, logs, ocaml_lwt, alcotest }:
buildDunePackage rec {
pname = "mirage-runtime";
version = "3.7.7";
minimumOCamlVersion = "4.06";
src = fetchurl {
url = "https://github.com/mirage/mirage/releases/download/v${version}/mirage-v${version}.tbz";
sha256 = "1ds5zfwb0g340kbdlsjayyw4n25nj7skdl1mwyvpzmkv4qcsmdiv";
};
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 ];
};
}