Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
812 B
Nix
38 lines
812 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
cmdliner,
|
|
ipaddr,
|
|
logs,
|
|
lwt,
|
|
alcotest,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "mirage-runtime";
|
|
version = "4.10.1";
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage/releases/download/v${finalAttrs.version}/mirage-${finalAttrs.version}.tbz";
|
|
hash = "sha256:1155b5e9a585d3b44dfdd72777d94a7222b0f88a1737593bfb1f09954b6fb914";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
|
cmdliner
|
|
ipaddr
|
|
logs
|
|
lwt
|
|
];
|
|
checkInputs = [ alcotest ];
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirage/mirage";
|
|
description = "Base MirageOS runtime library, part of every MirageOS unikernel";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ sternenseemann ];
|
|
};
|
|
})
|