mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
ocamlPackages.mirage: init at 3.9.0
This commit is contained in:
parent
7fb0a750f7
commit
9ca92f0a5b
25
pkgs/development/ocaml-modules/mirage/default.nix
Normal file
25
pkgs/development/ocaml-modules/mirage/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, buildDunePackage, ocaml
|
||||
, functoria, mirage-runtime
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage";
|
||||
inherit (mirage-runtime) version src;
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
propagatedBuildInputs = [ functoria mirage-runtime ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dune install --prefix=$out --libdir=$dev/lib/ocaml/${ocaml.version}/site-lib/ ${pname}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = mirage-runtime.meta // {
|
||||
description = "The MirageOS library operating system";
|
||||
};
|
||||
|
||||
}
|
@ -539,6 +539,8 @@ let
|
||||
|
||||
minisat = callPackage ../development/ocaml-modules/minisat { };
|
||||
|
||||
mirage = callPackage ../development/ocaml-modules/mirage { };
|
||||
|
||||
mirage-block = callPackage ../development/ocaml-modules/mirage-block { };
|
||||
|
||||
mirage-bootvar-unix = callPackage ../development/ocaml-modules/mirage-bootvar-unix { };
|
||||
|
Loading…
Reference in New Issue
Block a user