Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 35 lines 753 B view raw
1{ lib, fetchurl, buildDunePackage, js_of_ocaml-compiler , gen_js_api, ojs }: 2 3buildDunePackage rec { 4 pname = "ocaml-vdom"; 5 version = "0.2"; 6 minimalOCamlVersion = "4.08"; 7 duneVersion = "3"; 8 9 src = fetchurl { 10 url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/v${version}.tar.gz"; 11 sha256 = "sha256-FVR0WubW9VJBGVtVaXdJ+O/ghq0w5+BuItFWXkuVYL8="; 12 }; 13 14 nativeBuildInputs = [ 15 gen_js_api 16 ]; 17 18 buildInputs = [ 19 gen_js_api 20 ]; 21 22 propagatedBuildInputs = [ 23 js_of_ocaml-compiler 24 ojs 25 ]; 26 27 meta = { 28 homepage = "https://github.com/LexiFi/ocaml-vdom"; 29 description = "Elm architecture and (V)DOM for OCaml"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ jayesh-bhoot ]; 32 }; 33} 34 35