Skip to content

Commit

Permalink
ocamlPackages.mirage-bootvar-xen: init at 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sternenseemann committed Apr 25, 2021
1 parent 2fe8239 commit 4f7a661
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/development/ocaml-modules/mirage-bootvar-xen/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib
, buildDunePackage
, fetchurl
, mirage-xen
, parse-argv
, lwt
}:

buildDunePackage rec {
pname = "mirage-bootvar-xen";
version = "0.8.0";

minimumOCamlVersion = "4.08";

useDune2 = true;

src = fetchurl {
url = "https://github.com/mirage/mirage-bootvar-xen/releases/download/v${version}/mirage-bootvar-xen-v${version}.tbz";
sha256 = "0nk80giq9ng3svbnm68fjby2f1dnarddm3lk7mw7w59av71q0rcv";
};

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";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,8 @@ let

mirage-bootvar-unix = callPackage ../development/ocaml-modules/mirage-bootvar-unix { };

mirage-bootvar-xen = callPackage ../development/ocaml-modules/mirage-bootvar-xen { };

mirage-channel = callPackage ../development/ocaml-modules/mirage-channel { };

mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
Expand Down

0 comments on commit 4f7a661

Please sign in to comment.