ocamlPackages.brr: init at 0.0.4

This commit is contained in:
Vincent Laporte 2022-12-31 11:42:31 +01:00 committed by Vincent Laporte
parent 54d363b012
commit 9fb83711c2
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, lib, fetchurl
, ocaml, findlib, ocamlbuild, topkg
, js_of_ocaml-compiler
, js_of_ocaml-toplevel
, note
}:
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-brr";
version = "0.0.4";
src = fetchurl {
url = "https://erratique.ch/software/brr/releases/brr-${version}.tbz";
hash = "sha256-v+Ik1tdRBVnNDqhmNoJuLelL3k5OhxIsUorGdTb9sbw=";
};
buildInputs = [ ocaml findlib ocamlbuild topkg ];
propagatedBuildInputs = [ js_of_ocaml-compiler js_of_ocaml-toplevel note ];
inherit (topkg) buildPhase installPhase;
meta = {
homepage = "https://erratique.ch/software/brr";
description = "A toolkit for programming browsers in OCaml";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}

View File

@ -98,6 +98,8 @@ let
brisk-reconciler = callPackage ../development/ocaml-modules/brisk-reconciler { };
brr = callPackage ../development/ocaml-modules/brr { };
bwd = callPackage ../development/ocaml-modules/bwd { };
bz2 = callPackage ../development/ocaml-modules/bz2 { };