at 23.11-beta 25 lines 777 B view raw
1{ stdenv, lib, fetchurl 2, ocaml, findlib, ocamlbuild, topkg 3, js_of_ocaml-compiler 4, js_of_ocaml-toplevel 5}: 6 7stdenv.mkDerivation rec { 8 pname = "ocaml${ocaml.version}-brr"; 9 version = "0.0.6"; 10 src = fetchurl { 11 url = "https://erratique.ch/software/brr/releases/brr-${version}.tbz"; 12 hash = "sha256-paYZlzujXsG1S+s/4/kAPBlDuV1Ljorw7okAu4qaAV0="; 13 }; 14 buildInputs = [ ocaml findlib ocamlbuild topkg ]; 15 propagatedBuildInputs = [ js_of_ocaml-compiler js_of_ocaml-toplevel ]; 16 inherit (topkg) buildPhase installPhase; 17 18 meta = { 19 homepage = "https://erratique.ch/software/brr"; 20 description = "A toolkit for programming browsers in OCaml"; 21 license = lib.licenses.isc; 22 maintainers = [ lib.maintainers.vbgl ]; 23 inherit (ocaml.meta) platforms; 24 }; 25}