diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-02-02 06:39:50 +0000 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-02-18 11:15:28 +0100 |
commit | 7c2b2ddd683686f713807d6d0b2f62c71174afac (patch) | |
tree | b185b89c42b05f9eb856159ae86621143e07ae3e /pkgs/development/ocaml-modules | |
parent | 3957b6b37918cf06366ef7b0aeb810405eea6a34 (diff) | |
download | nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.gz nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.bz2 nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.lz nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.xz nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.tar.zst nixlib-7c2b2ddd683686f713807d6d0b2f62c71174afac.zip |
ocamlPackages.lwt_ssl: init at 1.1.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt_ssl/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt_ssl/default.nix b/pkgs/development/ocaml-modules/lwt_ssl/default.nix new file mode 100644 index 000000000000..e53c835a2911 --- /dev/null +++ b/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; + }; +} |