ocamlPackages.mirage-console: init at 3.0.2

This commit is contained in:
Vincent Laporte 2020-11-03 08:26:34 +01:00 committed by ehmry
parent 1d78dc8a8b
commit 8b5088130e
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, fetchurl, buildDunePackage
, lwt, mirage-device, mirage-flow
}:
buildDunePackage rec {
pname = "mirage-console";
version = "3.0.2";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-v${version}.tbz";
sha256 = "1fygk7pvlmwx6vd0h4cv9935xxhi64k2dgym41wf6qfkxgpp31lm";
};
propagatedBuildInputs = [ lwt mirage-device mirage-flow ];
meta = {
description = "Implementations of Mirage console devices";
homepage = "https://github.com/mirage/mirage-console";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -549,6 +549,8 @@ let
mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };
mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
mirage-crypto = callPackage ../development/ocaml-modules/mirage-crypto { };
mirage-crypto-pk = callPackage ../development/ocaml-modules/mirage-crypto/pk.nix { };