mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
ocamlPackages.lwt: 5.3.0 → 5.4.0
This commit is contained in:
parent
e4b1824c5b
commit
0279876952
@ -4,6 +4,8 @@ buildDunePackage rec {
|
||||
pname = "lwt-dllist";
|
||||
version = "1.0.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -1,21 +1,25 @@
|
||||
{ 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
|
||||
, ocaml-syntax-shims
|
||||
}:
|
||||
|
||||
let inherit (lib) optional versionAtLeast; in
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "lwt";
|
||||
version = "5.3.0";
|
||||
version = "5.4.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocsigen/${pname}/archive/${version}.tar.gz";
|
||||
sha256 = "15hgy3220m2b8imipa514n7l65m1h5lc6l1hanqwwvs7ghh2aqp2";
|
||||
sha256 = "1ay1zgadnw19r9hl2awfjr22n37l7rzxd9v73pjbahavwm2ay65d";
|
||||
};
|
||||
|
||||
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;
|
||||
propagatedBuildInputs = [ libev mmap ocplib-endian seq result ];
|
||||
|
||||
|
@ -4,6 +4,8 @@ buildDunePackage rec {
|
||||
pname = "lwt_log";
|
||||
version = "1.1.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
Loading…
Reference in New Issue
Block a user