1{ stdenv, fetchzip, which, openssl, ocaml, findlib }:
2
3stdenv.mkDerivation rec {
4 name = "ocaml${ocaml.version}-ssl-${version}";
5 version = "0.5.3";
6
7 src = fetchzip {
8 url = "https://github.com/savonet/ocaml-ssl/releases/download/0.5.3/ocaml-ssl-${version}.tar.gz";
9 sha256 = "0h2k19zpdvq1gqwrmmgkibw4j48l71vv6ajzxs0wi71y80c1vhwm";
10 };
11
12 buildInputs = [which ocaml findlib];
13
14 propagatedBuildInputs = [openssl];
15
16 dontAddPrefix = true;
17
18 createFindlibDestdir = true;
19
20 meta = {
21 homepage = http://savonet.rastageeks.org/;
22 description = "OCaml bindings for libssl ";
23 license = "LGPL+link exception";
24 platforms = ocaml.meta.platforms or [];
25 maintainers = [
26 stdenv.lib.maintainers.z77z
27 ];
28 };
29}