nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 765 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 ocaml, 6 findlib, 7 topkg, 8 ocamlbuild, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "ocaml-react"; 13 version = "1.2.2"; 14 15 src = fetchurl { 16 url = "https://erratique.ch/software/react/releases/react-${version}.tbz"; 17 sha256 = "sha256-xK3TFdbx8VPRFe58qN1gwSZf9NQIwmYSX8tRJP0ij5k="; 18 }; 19 20 nativeBuildInputs = [ 21 ocaml 22 findlib 23 ocamlbuild 24 ]; 25 buildInputs = [ topkg ]; 26 27 strictDeps = true; 28 29 inherit (topkg) buildPhase installPhase; 30 31 meta = { 32 homepage = "https://erratique.ch/software/react"; 33 description = "Applicative events and signals for OCaml"; 34 license = lib.licenses.bsd3; 35 inherit (ocaml.meta) platforms; 36 maintainers = with lib.maintainers; [ 37 vbmithr 38 gal_bolle 39 ]; 40 }; 41}