forked from mirrors/nixpkgs
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
29 lines
777 B
Nix
29 lines
777 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, cstruct, logs, lwt, mirage-flow
|
|
, alcotest, mirage-flow-combinators
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-channel";
|
|
version = "4.1.0";
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/mirage-channel/releases/download/v${version}/mirage-channel-${version}.tbz";
|
|
sha256 = "sha256-sBdoUdTd9ZeNcHK0IBGBeOYDDqULM7EYX+Pz2f2nIQA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cstruct logs lwt mirage-flow ];
|
|
|
|
doCheck = true;
|
|
nativeCheckInputs = [ 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";
|
|
};
|
|
}
|