lol
1{ lib
2, bigstringaf
3, buildDunePackage
4, fetchurl
5, iomux
6, ptime
7, uri
8}:
9
10buildDunePackage rec {
11 pname = "riot";
12 version = "0.0.2";
13
14 minimalOCamlVersion = "5.1";
15
16 src = fetchurl {
17 url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
18 hash = "sha256-ck/tr5o0nKF4WNgjPODHg1/tlaKv1JtuYgqYfIIZ78Q=";
19 };
20
21 propagatedBuildInputs = [
22 bigstringaf
23 iomux
24 ptime
25 uri
26 ];
27
28 doCheck = true;
29
30 meta = {
31 description = "An actor-model multi-core scheduler for OCaml 5";
32 homepage = "https://github.com/leostera/riot";
33 changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ marsam ];
36 };
37}