2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
2024-06-05 15:53:02 +00:00
|
|
|
, mirage-crypto-rng
|
|
|
|
, mtime
|
|
|
|
, gluon
|
|
|
|
, randomconv
|
|
|
|
, rio
|
2024-01-02 11:29:13 +00:00
|
|
|
, telemetry
|
2024-06-05 15:53:02 +00:00
|
|
|
, tls
|
2023-11-16 04:20:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "riot";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.0.8";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-06-05 15:53:02 +00:00
|
|
|
gluon
|
|
|
|
mirage-crypto-rng
|
|
|
|
mtime
|
|
|
|
randomconv
|
|
|
|
rio
|
2024-01-02 11:29:13 +00:00
|
|
|
telemetry
|
2024-06-05 15:53:02 +00:00
|
|
|
tls
|
2024-02-07 01:22:34 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # fails on sandbox
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Actor-model multi-core scheduler for OCaml 5";
|
2023-11-16 04:20:00 +00:00
|
|
|
homepage = "https://github.com/leostera/riot";
|
|
|
|
changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
|
|
|
|
license = lib.licenses.mit;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|