Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 789 B view raw
1{ stdenv, lib, fetchurl 2, ocaml, findlib, ocamlbuild, topkg 3, js_of_ocaml-compiler 4, js_of_ocaml-toplevel 5, note 6}: 7 8stdenv.mkDerivation rec { 9 pname = "ocaml${ocaml.version}-brr"; 10 version = "0.0.4"; 11 src = fetchurl { 12 url = "https://erratique.ch/software/brr/releases/brr-${version}.tbz"; 13 hash = "sha256-v+Ik1tdRBVnNDqhmNoJuLelL3k5OhxIsUorGdTb9sbw="; 14 }; 15 buildInputs = [ ocaml findlib ocamlbuild topkg ]; 16 propagatedBuildInputs = [ js_of_ocaml-compiler js_of_ocaml-toplevel note ]; 17 inherit (topkg) buildPhase installPhase; 18 19 meta = { 20 homepage = "https://erratique.ch/software/brr"; 21 description = "A toolkit for programming browsers in OCaml"; 22 license = lib.licenses.isc; 23 maintainers = [ lib.maintainers.vbgl ]; 24 inherit (ocaml.meta) platforms; 25 }; 26}