diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-02-07 06:16:12 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2022-02-14 06:45:53 +0100 |
commit | 722df186c64fce5d3fd5820b9e392a61d4538106 (patch) | |
tree | 1a958b22553821260a0418f70ba78efbcb8dd449 /pkgs/development/ocaml-modules/lwt_react | |
parent | 213c46abbbe901ef567476a83702f29ba29d4395 (diff) |
ocamlPackages.lwt_react: 1.0.1 → 1.1.5
Diffstat (limited to 'pkgs/development/ocaml-modules/lwt_react')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt_react/default.nix | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/pkgs/development/ocaml-modules/lwt_react/default.nix b/pkgs/development/ocaml-modules/lwt_react/default.nix index 5513935133e8c..f6f2bc0f4ef3c 100644 --- a/pkgs/development/ocaml-modules/lwt_react/default.nix +++ b/pkgs/development/ocaml-modules/lwt_react/default.nix @@ -1,22 +1,24 @@ -{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, lwt, react }: +{ lib, buildDunePackage, fetchFromGitHub, cppo, lwt, react }: -stdenv.mkDerivation rec { - version = "1.0.1"; - name = "ocaml${ocaml.version}-lwt_react-${version}"; - src = fetchzip { - url = "https://github.com/ocsigen/lwt/releases/download/3.0.0/lwt_react-1.0.1.tar.gz"; - sha256 = "1bbz7brvdskf4angzn3q2s2s6qdnx7x8m8syayysh23gwv4c7v31"; +buildDunePackage { + pname = "lwt_react"; + version = "1.1.5"; + + useDune2 = true; + + src = fetchFromGitHub { + owner = "ocsigen"; + repo = "lwt"; + rev = "5.5.0"; + sha256 = "sha256:1jbjz2rsz3j56k8vh5qlmm87hhkr250bs2m3dvpy9vsri8rkzj9z"; }; - buildInputs = [ ocaml findlib ocamlbuild ]; + nativeBuildInputs = [ cppo ]; propagatedBuildInputs = [ lwt react ]; - createFindlibDestdir = true; - meta = { description = "Helpers for using React with Lwt"; inherit (lwt.meta) homepage license maintainers; - inherit (ocaml.meta) platforms; }; } |