1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 ocamlPackages,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "rml";
10 version = "1.09.07";
11
12 src = fetchFromGitHub {
13 owner = "reactiveml";
14 repo = "rml";
15 rev = "rml-${version}-2021-07-26";
16 hash = "sha256-UFqXQBeIQMSV4O439j9s06p1hh7xA98Tu79FsjK9PIY=";
17 };
18
19 strictDeps = true;
20
21 nativeBuildInputs = with ocamlPackages; [
22 ocaml
23 ];
24
25 buildInputs = with ocamlPackages; [
26 num
27 ];
28
29 prefixKey = "-prefix ";
30
31 meta = with lib; {
32 description = "ReactiveML: a programming language for implementing interactive systems";
33 homepage = "https://rml.lri.fr";
34 license = with licenses; [
35 qpl
36 lgpl21Plus
37 ];
38 maintainers = with maintainers; [ wegank ];
39 };
40}