blob: cb096401a66c9c0304871dbb2cb11799bc1b9dd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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 = {
homepage = "https://erratique.ch/software/react";
description = "Applicative events and signals for OCaml";
license = lib.licenses.bsd3;
inherit (ocaml.meta) platforms;
maintainers = with lib.maintainers; [
vbmithr
gal_bolle
];
};
}
|