ocamlPackages.lwt_react: 1.0.1 → 1.1.5
This commit is contained in:
parent
213c46abbb
commit
722df186c6
|
@ -1,22 +1,24 @@
|
||||||
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, lwt, react }:
|
{ lib, buildDunePackage, fetchFromGitHub, cppo, lwt, react }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage {
|
||||||
version = "1.0.1";
|
pname = "lwt_react";
|
||||||
name = "ocaml${ocaml.version}-lwt_react-${version}";
|
version = "1.1.5";
|
||||||
src = fetchzip {
|
|
||||||
url = "https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-1.0.1.tar.gz";
|
useDune2 = true;
|
||||||
sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31";
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ocsigen";
|
||||||
|
repo = "lwt";
|
||||||
|
rev = "5.5.0";
|
||||||
|
sha256 = "sha256:1jbjz2rsz3j56k8vh5qlmm87hhkr250bs2m3dvpy9vsri8rkzj9z";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
nativeBuildInputs = [ cppo ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ lwt react ];
|
propagatedBuildInputs = [ lwt react ];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Helpers for using React with Lwt";
|
description = "Helpers for using React with Lwt";
|
||||||
inherit (lwt.meta) homepage license maintainers;
|
inherit (lwt.meta) homepage license maintainers;
|
||||||
inherit (ocaml.meta) platforms;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue