2021-04-26 19:14:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, cstruct
|
|
|
|
, lwt
|
|
|
|
, shared-memory-ring-lwt
|
|
|
|
, xenstore
|
|
|
|
, lwt-dllist
|
|
|
|
, mirage-profile
|
|
|
|
, mirage-runtime
|
|
|
|
, logs
|
|
|
|
, fmt
|
|
|
|
, bheap
|
|
|
|
, duration
|
|
|
|
, io-page
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-xen";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "8.0.1";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-07-14 12:49:19 +00:00
|
|
|
url = "https://github.com/mirage/mirage-xen/releases/download/v${version}/mirage-xen-${version}.tbz";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-x8i2Kbz0EcifZK/lbDIFa9Kwtl1/xzbYV9h9E+EtGP4=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2023-03-04 12:14:45 +00:00
|
|
|
duneVersion = "3";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cstruct
|
|
|
|
lwt
|
|
|
|
shared-memory-ring-lwt
|
|
|
|
xenstore
|
|
|
|
lwt-dllist
|
|
|
|
mirage-profile
|
|
|
|
mirage-runtime
|
|
|
|
io-page
|
|
|
|
logs
|
|
|
|
fmt
|
|
|
|
bheap
|
|
|
|
duration
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Xen core platform libraries for MirageOS";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
homepage = "https://github.com/mirage/mirage-xen";
|
|
|
|
};
|
|
|
|
}
|