ocamlPackages.lwt: 5.3.0 → 5.4.0
This commit is contained in:
parent
e4b1824c5b
commit
0279876952
3 changed files with 12 additions and 4 deletions
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
||||||
pname = "lwt-dllist";
|
pname = "lwt-dllist";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.03";
|
minimumOCamlVersion = "4.03";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -1,21 +1,25 @@
|
||||||
{ lib, fetchzip, pkg-config, ncurses, libev, buildDunePackage, ocaml
|
{ lib, fetchzip, pkg-config, ncurses, libev, buildDunePackage, ocaml
|
||||||
, cppo, ocaml-migrate-parsetree, ocplib-endian, result
|
, cppo, dune-configurator, ocaml-migrate-parsetree, ocplib-endian, result
|
||||||
, mmap, seq
|
, mmap, seq
|
||||||
|
, ocaml-syntax-shims
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let inherit (lib) optional versionAtLeast; in
|
let inherit (lib) optional versionAtLeast; in
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "lwt";
|
pname = "lwt";
|
||||||
version = "5.3.0";
|
version = "5.4.0";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/ocsigen/${pname}/archive/${version}.tar.gz";
|
url = "https://github.com/ocsigen/${pname}/archive/${version}.tar.gz";
|
||||||
sha256 = "15hgy3220m2b8imipa514n7l65m1h5lc6l1hanqwwvs7ghh2aqp2";
|
sha256 = "1ay1zgadnw19r9hl2awfjr22n37l7rzxd9v73pjbahavwm2ay65d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ cppo ocaml-migrate-parsetree ]
|
buildInputs = [ cppo dune-configurator ocaml-migrate-parsetree ]
|
||||||
|
++ optional (!versionAtLeast ocaml.version "4.08") ocaml-syntax-shims
|
||||||
++ optional (!versionAtLeast ocaml.version "4.07") ncurses;
|
++ optional (!versionAtLeast ocaml.version "4.07") ncurses;
|
||||||
propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];
|
propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
||||||
pname = "lwt_log";
|
pname = "lwt_log";
|
||||||
version = "1.1.1";
|
version = "1.1.1";
|
||||||
|
|
||||||
|
useDune2 = true;
|
||||||
|
|
||||||
minimumOCamlVersion = "4.02";
|
minimumOCamlVersion = "4.02";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
Loading…
Reference in a new issue