about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/riot/default.nix
blob: 81d1a48773ea28a0a12a9fc881668660de8dbaa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ lib
, buildDunePackage
, cstruct
, fetchurl
, mdx
, poll
, ptime
, telemetry
, uri
}:

buildDunePackage rec {
  pname = "riot";
  version = "0.0.7";

  minimalOCamlVersion = "5.1";

  src = fetchurl {
    url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
    hash = "sha256-t+PMBh4rZXi82dUljv3nLzZX5o1iagBbQ9FfGnr/dp4=";
  };

  propagatedBuildInputs = [
    cstruct
    poll
    ptime
    telemetry
    uri
  ];

  checkInputs = [
    mdx
    mdx.bin
  ];

  doCheck = false; # fails on sandbox

  meta = {
    description = "An actor-model multi-core scheduler for OCaml 5";
    homepage = "https://github.com/leostera/riot";
    changelog = "https://github.com/leostera/riot/blob/${version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ marsam ];
  };
}