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>
30 lines
644 B
Nix
30 lines
644 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 = {
|
|
description = "OCaml module for functional reactive programming (FRP) based on React";
|
|
homepage = "https://github.com/ocsigen/reactiveData";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|