567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
41 lines
737 B
Nix
41 lines
737 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
ocamlPackages,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rml";
|
|
version = "1.09.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "reactiveml";
|
|
repo = "rml";
|
|
rev = "rml-${version}-2021-07-26";
|
|
hash = "sha256-UFqXQBeIQMSV4O439j9s06p1hh7xA98Tu79FsjK9PIY=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = with ocamlPackages; [
|
|
ocaml
|
|
];
|
|
|
|
buildInputs = with ocamlPackages; [
|
|
num
|
|
];
|
|
|
|
prefixKey = "-prefix ";
|
|
|
|
meta = {
|
|
description = "ReactiveML: a programming language for implementing interactive systems";
|
|
homepage = "https://rml.lri.fr";
|
|
license = with lib.licenses; [
|
|
qpl
|
|
lgpl21Plus
|
|
];
|
|
maintainers = with lib.maintainers; [ wegank ];
|
|
};
|
|
}
|