2021-04-26 19:14:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, mirage-xen
|
|
|
|
, parse-argv
|
|
|
|
, lwt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "mirage-bootvar-xen";
|
|
|
|
version = "0.8.0";
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
duneVersion = "3";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/mirage-bootvar-xen/releases/download/v${version}/mirage-bootvar-xen-v${version}.tbz";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256:0nk80giq9ng3svbnm68fjby2f1dnarddm3lk7mw7w59av71q0rcv";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-xen
|
|
|
|
lwt
|
|
|
|
parse-argv
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Handle boot-time arguments for Xen platform";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
homepage = "https://github.com/mirage/mirage-bootvar-xen";
|
|
|
|
};
|
|
|
|
}
|