Update ocaml_lwt to version 2.4.5 (from git)
This commit is contained in:
parent
337a3b8212
commit
7e2766d646
1 changed files with 13 additions and 9 deletions
|
@ -1,21 +1,25 @@
|
|||
{stdenv, fetchurl, which, cryptopp, ocaml, findlib, ocaml_react, ocaml_ssl}:
|
||||
{stdenv, fetchgit, which, cryptopp, ocaml, findlib, ocaml_react, ocaml_ssl, libev, pkgconfig, ncurses, ocaml_oasis, ocaml_text, glib}:
|
||||
|
||||
let
|
||||
ocaml_version = (builtins.parseDrvName ocaml.name).version;
|
||||
version = "2.1.1";
|
||||
version = "2.4.5";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
|
||||
name = "ocaml-lwt-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ocsigen.org/download/lwt-${version}.tar.gz";
|
||||
sha256 = "1zjn0sgihryshancn4kna1xslhc8gifliny1qd3a85f72xxxnw0w";
|
||||
src = fetchgit {
|
||||
url = git://github.com/ocsigen/lwt;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "2bbf4f216dd62eeb765a89413f3b2b6d417a9c289ca49d595bb4d7a0545e343e";
|
||||
};
|
||||
|
||||
buildInputs = [which cryptopp ocaml findlib ocaml_react ocaml_ssl];
|
||||
buildInputs = [ocaml_oasis pkgconfig which cryptopp ocaml findlib ocaml_react ocaml_ssl libev ncurses ocaml_text glib];
|
||||
|
||||
configurePhase = "true";
|
||||
configureFlags = [ "--enable-all" ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://ocsigen.org/lwt;
|
||||
|
@ -23,7 +27,7 @@ stdenv.mkDerivation {
|
|||
license = "LGPL";
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.z77z
|
||||
stdenv.lib.maintainers.z77z stdenv.lib.maintainers.gal_bolle
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue