nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 840 B view raw
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 ocaml, 6 findlib, 7 ocamlbuild, 8 topkg, 9 js_of_ocaml-compiler, 10 js_of_ocaml-toplevel, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "ocaml${ocaml.version}-brr"; 15 version = "0.0.8"; 16 src = fetchurl { 17 url = "https://erratique.ch/software/brr/releases/brr-${finalAttrs.version}.tbz"; 18 hash = "sha256-g4ROHy9rHlaEFi5+euyRuEKK5HwKJWPmFkdvFhdIYgg="; 19 }; 20 buildInputs = [ 21 ocaml 22 findlib 23 ocamlbuild 24 topkg 25 ]; 26 propagatedBuildInputs = [ 27 js_of_ocaml-compiler 28 js_of_ocaml-toplevel 29 ]; 30 inherit (topkg) buildPhase installPhase; 31 32 meta = { 33 homepage = "https://erratique.ch/software/brr"; 34 description = "Toolkit for programming browsers in OCaml"; 35 license = lib.licenses.isc; 36 maintainers = [ lib.maintainers.vbgl ]; 37 inherit (ocaml.meta) platforms; 38 }; 39})