ocamlPackages.lwt: 5.5.0 → 5.6.1

This commit is contained in:
Vincent Laporte 2022-10-15 21:46:28 +02:00 committed by Vincent Laporte
parent 21bc28110d
commit 7bc0c0e8a6
2 changed files with 11 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch { lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch
, ocaml, findlib, ocamlbuild, ocaml_oasis , ocaml, findlib, ocamlbuild, ocaml_oasis
, bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, ocaml_lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm, frontc, ounit, ppx_jane, parsexp , bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, mmap, lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm, frontc, ounit, ppx_jane, parsexp
, utop, libxml2, ncurses , utop, libxml2, ncurses
, linenoise , linenoise
, ppx_bap , ppx_bap
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
z3 z3
utop libxml2 ncurses ]; utop libxml2 ncurses ];
propagatedBuildInputs = [ bitstring camlzip cmdliner ppx_bap core_kernel ezjsonm fileutils ocaml_lwt ocamlgraph ocurl re uri zarith piqi parsexp propagatedBuildInputs = [ bitstring camlzip cmdliner ppx_bap core_kernel ezjsonm fileutils mmap lwt ocamlgraph ocurl re uri zarith piqi parsexp
piqi-ocaml uuidm frontc yojson ]; piqi-ocaml uuidm frontc yojson ];
installPhase = '' installPhase = ''

View file

@ -1,29 +1,25 @@
{ lib, fetchFromGitHub, pkg-config, ncurses, libev, buildDunePackage, ocaml { lib, fetchFromGitHub, libev, buildDunePackage
, cppo, dune-configurator, ocplib-endian, result , cppo, dune-configurator, ocplib-endian
, mmap, seq
, ocaml-syntax-shims
}: }:
let inherit (lib) optional versionOlder; in
buildDunePackage rec { buildDunePackage rec {
pname = "lwt"; pname = "lwt";
version = "5.5.0"; version = "5.6.1";
minimalOCamlVersion = "4.08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocsigen"; owner = "ocsigen";
repo = "lwt"; repo = "lwt";
rev = version; rev = version;
sha256 = "sha256:1jbjz2rsz3j56k8vh5qlmm87hhkr250bs2m3dvpy9vsri8rkzj9z"; sha256 = "sha256-XstKs0tMwliCyXnP0Vzi5WC27HKJGnATUYtbbQmH1TE=";
}; };
strictDeps = true; strictDeps = true;
nativeBuildInputs = [ pkg-config cppo ] nativeBuildInputs = [ cppo ];
++ optional (versionOlder ocaml.version "4.08") ocaml-syntax-shims; buildInputs = [ dune-configurator ];
buildInputs = [ dune-configurator ] propagatedBuildInputs = [ libev ocplib-endian ];
++ optional (versionOlder ocaml.version "4.07") ncurses;
propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];
meta = { meta = {
homepage = "https://ocsigen.org/lwt/"; homepage = "https://ocsigen.org/lwt/";