30 lines
646 B
Nix
30 lines
646 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
fetchFromGitHub,
|
||
|
|
buildDunePackage,
|
||
|
|
react,
|
||
|
|
}:
|
||
|
|
|
||
|
|
buildDunePackage rec {
|
||
|
|
pname = "reactiveData";
|
||
|
|
version = "0.3.1";
|
||
|
|
duneVersion = "3";
|
||
|
|
minimalOCamlVersion = "4.08";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "ocsigen";
|
||
|
|
repo = "reactiveData";
|
||
|
|
rev = version;
|
||
|
|
sha256 = "sha256-MO9WMe1k2QcC5RynE6uZHohmu3QlpTHvAkvQNgu3P90=";
|
||
|
|
};
|
||
|
|
|
||
|
|
propagatedBuildInputs = [ react ];
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "OCaml module for functional reactive programming (FRP) based on React";
|
||
|
|
homepage = "https://github.com/ocsigen/reactiveData";
|
||
|
|
license = licenses.lgpl21;
|
||
|
|
maintainers = with maintainers; [ vbgl ];
|
||
|
|
};
|
||
|
|
}
|