nixpkgs/pkgs/development/ocaml-modules/react/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
730 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, ocaml, findlib, topkg, ocamlbuild }:
stdenv.mkDerivation rec {
pname = "ocaml-react";
2022-10-15 17:33:52 +00:00
version = "1.2.2";
src = fetchurl {
url = "https://erratique.ch/software/react/releases/react-${version}.tbz";
2022-10-15 17:33:52 +00:00
sha256 = "sha256-xK3TFdbx8VPRFe58qN1gwSZf9NQIwmYSX8tRJP0ij5k=";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
buildInputs = [ topkg ];
strictDeps = true;
2017-10-05 05:57:03 +00:00
inherit (topkg) buildPhase installPhase;
meta = with lib; {
homepage = "https://erratique.ch/software/react";
description = "Applicative events and signals for OCaml";
2014-04-23 15:00:50 +00:00
license = licenses.bsd3;
2022-10-15 17:33:52 +00:00
inherit (ocaml.meta) platforms;
2021-11-09 19:53:19 +00:00
maintainers = with maintainers; [ maggesi vbmithr gal_bolle ];
};
}