nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 733 B view raw
1{ 2 lib, 3 fetchzip, 4 buildDunePackage, 5 js_of_ocaml-compiler, 6 gen_js_api, 7 ojs, 8}: 9 10buildDunePackage rec { 11 pname = "vdom"; 12 version = "0.3"; 13 minimalOCamlVersion = "4.08"; 14 15 src = fetchzip { 16 url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/${version}.tar.gz"; 17 hash = "sha256-mlXOb+KCdHWNL9PAppan7m7JaP83JEjq+tu14JI+NJo="; 18 }; 19 20 nativeBuildInputs = [ 21 gen_js_api 22 ]; 23 24 buildInputs = [ 25 gen_js_api 26 ]; 27 28 propagatedBuildInputs = [ 29 js_of_ocaml-compiler 30 ojs 31 ]; 32 33 meta = { 34 homepage = "https://github.com/LexiFi/ocaml-vdom"; 35 description = "Elm architecture and (V)DOM for OCaml"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ jayesh-bhoot ]; 38 }; 39}