diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/react')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/react/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/react/default.nix b/nixpkgs/pkgs/development/ocaml-modules/react/default.nix new file mode 100644 index 000000000000..0edae9830698 --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/react/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }: + +stdenv.mkDerivation rec { + pname = "ocaml-react"; + version = "1.2.1"; + + src = fetchurl { + url = "https://erratique.ch/software/react/releases/react-${version}.tbz"; + sha256 = "1aj8w79gdd9xnrbz7s5p8glcb4pmimi8jp9f439dqnf6ih3mqb3v"; + }; + + buildInputs = [ ocaml findlib topkg ocamlbuild ]; + + inherit (topkg) buildPhase installPhase; + + meta = with lib; { + homepage = "https://erratique.ch/software/react"; + description = "Applicative events and signals for OCaml"; + license = licenses.bsd3; + platforms = ocaml.meta.platforms or [ ]; + maintainers = with maintainers; [ maggesi vbmithr gal_bolle ]; + }; +} |