blob: 061dbb398fe262f931752a6aa0581f2078f42d07 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{stdenv, fetchgit, which, cryptopp, ocaml, findlib, ocaml_react, ocaml_ssl, libev, pkgconfig, ncurses, ocaml_oasis, ocaml_text, glib}:
let
version = "2.4.5";
in
stdenv.mkDerivation {
name = "ocaml-lwt-${version}";
src = fetchgit {
url = git://github.com/ocsigen/lwt;
rev = "refs/tags/${version}";
sha256 = "2bbf4f216dd62eeb765a89413f3b2b6d417a9c289ca49d595bb4d7a0545e343e";
};
buildInputs = [ocaml_oasis pkgconfig which cryptopp ocaml findlib glib libev ncurses];
propagatedBuildInputs = [ ocaml_react ocaml_ssl ocaml_text ];
configureFlags = [ "--enable-all" ];
createFindlibDestdir = true;
meta = {
homepage = http://ocsigen.org/lwt;
description = "Lightweight thread library for Objective Caml";
license = "LGPL";
platforms = ocaml.meta.platforms;
maintainers = [
stdenv.lib.maintainers.z77z stdenv.lib.maintainers.gal_bolle
];
};
}
|