nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 1.3 kB view raw
1{ 2 buildDunePackage, 3 fetchFromGitHub, 4 lib, 5 reason, 6 ppxlib, 7 ocaml, 8}: 9 10let 11 version = "1.0.0-alpha1"; 12in 13 14buildDunePackage { 15 pname = "brisk-reconciler"; 16 inherit version; 17 18 src = fetchFromGitHub { 19 owner = "briskml"; 20 repo = "brisk-reconciler"; 21 tag = "v${version}"; 22 hash = "sha256-Xj6GGsod3lnEEjrzPrlHwQAowq66uz8comlhpWK888k="; 23 }; 24 25 buildInputs = [ 26 ppxlib 27 ]; 28 29 meta = { 30 description = "React.js-like reconciler implemented in OCaml/Reason"; 31 longDescription = '' 32 Easily model any `tree-shaped state` with simple `stateful functions`. 33 34 Definitions: 35 * tree-shaped state: Any tree shaped-state like the DOM tree, app navigation state, or even rich text document! 36 * stateful functions: Functions that maintain state over time. Imagine that you can take any variable in your function and manage its value over the function's invocation. Now, imagine that any function invocation really creates its own "instance" of the function which will track this state separately from other invocations of this function. 37 ''; 38 homepage = "https://github.com/briskml/brisk-reconciler"; 39 maintainers = with lib.maintainers; [ momeemt ]; 40 license = lib.licenses.mit; 41 broken = lib.versionAtLeast ocaml.version "5.3"; 42 }; 43}