c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
43 lines
896 B
Nix
43 lines
896 B
Nix
{ lib
|
|
, buildDunePackage
|
|
, fetchurl
|
|
, alcotest
|
|
, mdx
|
|
, thread-table
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "domain-local-await";
|
|
version = "1.0.0";
|
|
|
|
minimalOCamlVersion = "5.0";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocaml-multicore/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
|
sha256 = "KijWg0iTSdqbwkXd5Kr3/94urDm8QFSY2lMmGjUuxGo=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
thread-table
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [
|
|
alcotest
|
|
mdx
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mdx.bin
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ocaml-multicore/ocaml-${pname}";
|
|
changelog = "https://github.com/ocaml-multicore/ocaml-${pname}/raw/v${version}/CHANGES.md";
|
|
description = "A scheduler independent blocking mechanism";
|
|
license = with lib.licenses; [ isc ];
|
|
maintainers = with lib.maintainers; [ toastal ];
|
|
};
|
|
}
|