Skip to content

Commit

Permalink
ocamlPackages.lwt_ssl: init at 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Feb 18, 2018
1 parent 3957b6b commit 7c2b2dd
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/ocaml-modules/lwt_ssl/default.nix
@@ -0,0 +1,24 @@
{ stdenv, fetchzip, ocaml, findlib, jbuilder, ssl, lwt }:

stdenv.mkDerivation rec {
version = "1.1.2";
name = "ocaml${ocaml.version}-lwt_ssl-${version}";

src = fetchzip {
url = "https://github.com/aantron/lwt_ssl/archive/${version}.tar.gz";
sha256 = "1q0an3djqjxv83v3iswi7m81braqx93kcrcwrxwmf6jzhdm4pn15";
};

buildInputs = [ ocaml findlib jbuilder ];
propagatedBuildInputs = [ ssl lwt ];

inherit (jbuilder) installPhase;

meta = {
homepage = "https://github.com/aantron/lwt_ssl";
description = "OpenSSL binding with concurrent I/O";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (ocaml.meta) platforms;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Expand Up @@ -375,6 +375,10 @@ let
lwt = lwt3;
};

lwt_ssl = callPackage ../development/ocaml-modules/lwt_ssl {
lwt = lwt3;
};

macaque = callPackage ../development/ocaml-modules/macaque { };

magic-mime = callPackage ../development/ocaml-modules/magic-mime { };
Expand Down

0 comments on commit 7c2b2dd

Please sign in to comment.