about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/riot/default.nix
blob: e03ac2c209eda74c3792495da7c8e8c0ec4c2d99 (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
{ lib
, bigstringaf
, buildDunePackage
, fetchurl
, iomux
, ptime
, uri
}:

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

  minimalOCamlVersion = "5.1";

  src = fetchurl {
    url = "https://github.com/leostera/riot/releases/download/${version}/riot-${version}.tbz";
    hash = "sha256-ck/tr5o0nKF4WNgjPODHg1/tlaKv1JtuYgqYfIIZ78Q=";
  };

  propagatedBuildInputs = [
    bigstringaf
    iomux
    ptime
    uri
  ];

  doCheck = true;

  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 ];
  };
}