forked from mirrors/nixpkgs
33afbf39f6
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
663 B
Nix
29 lines
663 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, bigarray-compat, fmt
|
|
, alcotest, bigstringaf
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ke";
|
|
version = "0.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ke/releases/download/v${version}/ke-${version}.tbz";
|
|
sha256 = "sha256-YSFyB+IgCwSxd1lzZhD/kggmmmR/hUy1rnLNrA1nIwU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ fmt ];
|
|
|
|
nativeCheckInputs = [ alcotest bigstringaf ];
|
|
doCheck = true;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
meta = {
|
|
description = "Fast implementation of queue in OCaml";
|
|
homepage = "https://github.com/mirage/ke";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|