ocamlPackages.mirage-channel: init at 4.0.1

This commit is contained in:
Vincent Laporte 2020-11-02 06:37:02 +01:00 committed by ehmry
parent 2730e02a90
commit 8bf29a6014
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ lib, fetchurl, buildDunePackage
, cstruct, logs, lwt, mirage-flow
, alcotest, mirage-flow-combinators
}:
buildDunePackage rec {
pname = "mirage-channel";
version = "4.0.1";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-v${version}.tbz";
sha256 = "0wmb2zhiyp8n78xgcspcsyd19bhcml3kyli2caw3778wc1gyvfpc";
};
propagatedBuildInputs = [ cstruct logs lwt mirage-flow ];
doCheck = true;
checkInputs = [ alcotest mirage-flow-combinators ];
meta = {
description = "Buffered channels for MirageOS FLOW types";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/mirage/mirage-channel";
};
}

View File

@ -543,6 +543,8 @@ let
mirage-bootvar-unix = callPackage ../development/ocaml-modules/mirage-bootvar-unix { };
mirage-channel = callPackage ../development/ocaml-modules/mirage-channel { };
mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };