ocamlPackages.mirage-device: init at 2.0.0

This commit is contained in:
Vincent Laporte 2020-04-08 08:26:37 +02:00 committed by Vincent Laporte
parent d7ee3bc968
commit 10a73b84d3
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildDunePackage, fetchurl, fmt, ocaml_lwt }:
buildDunePackage rec {
pname = "mirage-device";
version = "2.0.0";
src = fetchurl {
url = "https://github.com/mirage/mirage-device/releases/download/v${version}/mirage-device-v${version}.tbz";
sha256 = "18alxyi6wlxqvb4lajjlbdfkgcajsmklxi9xqmpcz07j51knqa04";
};
propagatedBuildInputs = [ fmt ocaml_lwt ];
meta = {
description = "Abstract devices for MirageOS";
homepage = "https://github.com/mirage/mirage-device";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -536,6 +536,8 @@ let
mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
mirage-device = callPackage ../development/ocaml-modules/mirage-device { };
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };