36 lines
757 B
Nix
36 lines
757 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, ocamlPackages
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rml";
|
|
version = "1.09.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "reactiveml";
|
|
repo = pname;
|
|
rev = "${pname}-${version}-2021-07-26";
|
|
hash = "sha256-UFqXQBeIQMSV4O439j9s06p1hh7xA98Tu79FsjK9PIY=";
|
|
};
|
|
|
|
nativeBuildInputs = with ocamlPackages; [
|
|
ocaml
|
|
];
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
num
|
|
];
|
|
|
|
configureFlags = [ "--prefix" "${placeholder "out"}" ];
|
|
|
|
dontAddPrefix = true;
|
|
|
|
meta = with lib; {
|
|
description = "ReactiveML: a programming language for implementing interactive systems";
|
|
homepage = "https://rml.lri.fr";
|
|
license = with licenses; [ qpl lgpl21Plus ];
|
|
maintainers = with maintainers; [ wegank ];
|
|
};
|
|
}
|