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