mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
ocamlPackages.mirage-clock-freestanding: init at 3.1.0
This commit is contained in:
parent
0698166a6f
commit
83820fe6db
@ -6,6 +6,8 @@ buildDunePackage rec {
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-v${version}.tbz";
|
||||
sha256 = "0cqa07aqkamw0dvis1fl46brvk81zvb92iy5076ik62gv9n5a0mn";
|
||||
|
23
pkgs/development/ocaml-modules/mirage-clock/freestanding.nix
Normal file
23
pkgs/development/ocaml-modules/mirage-clock/freestanding.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
@ -681,6 +681,8 @@ let
|
||||
|
||||
mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
|
||||
|
||||
mirage-clock-freestanding = callPackage ../development/ocaml-modules/mirage-clock/freestanding.nix { };
|
||||
|
||||
mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };
|
||||
|
||||
mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
|
||||
|
Loading…
Reference in New Issue
Block a user