nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildDunePackage
3, fetchurl
4, mirage-crypto-rng
5, mtime
6, gluon
7, randomconv
8, rio
9, telemetry
10, tls
11}:
12
13buildDunePackage rec {
14 pname = "riot";
15 version = "0.0.8";
16
17 minimalOCamlVersion = "5.1";
18
19 src = fetchurl {
20 url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
21 hash = "sha256-SsiDz53b9bMIT9Q3IwDdB3WKy98WSd9fiieU41qZpeE=";
22 };
23
24 propagatedBuildInputs = [
25 gluon
26 mirage-crypto-rng
27 mtime
28 randomconv
29 rio
30 telemetry
31 tls
32 ];
33
34 doCheck = false; # fails on sandbox
35
36 meta = {
37 description = "Actor-model multi-core scheduler for OCaml 5";
38 homepage = "https://github.com/leostera/riot";
39 changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
40 license = lib.licenses.mit;
41 maintainers = [ ];
42 };
43}