diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/mirage-clock/freestanding.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/mirage-clock/freestanding.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/mirage-clock/freestanding.nix b/nixpkgs/pkgs/development/ocaml-modules/mirage-clock/freestanding.nix new file mode 100644 index 000000000000..ef278f1cd25b --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/mirage-clock/freestanding.nix @@ -0,0 +1,23 @@ +{ lib +, buildDunePackage +, mirage-clock +}: + +buildDunePackage { + pname = "mirage-clock-freestanding"; + + inherit (mirage-clock) + version + src + useDune2 + minimumOCamlVersion + ; + + propagatedBuildInputs = [ + mirage-clock + ]; + + meta = mirage-clock.meta // { + description = "Paravirtual implementation of the MirageOS Clock interface"; + }; +} |