depot/pkgs/development/ocaml-modules/react/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

26 lines
730 B
Nix

{ lib, stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:
stdenv.mkDerivation rec {
pname = "ocaml-react";
version = "1.2.2";
src = fetchurl {
url = "https://erratique.ch/software/react/releases/react-${version}.tbz";
sha256 = "sha256-xK3TFdbx8VPRFe58qN1gwSZf9NQIwmYSX8tRJP0ij5k=";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
buildInputs = [ topkg ];
strictDeps = true;
inherit (topkg) buildPhase installPhase;
meta = with lib; {
homepage = "https://erratique.ch/software/react";
description = "Applicative events and signals for OCaml";
license = licenses.bsd3;
inherit (ocaml.meta) platforms;
maintainers = with maintainers; [ maggesi vbmithr gal_bolle ];
};
}