1{stdenv, fetchurl, which, openssl, ocaml, findlib}:
2
3let
4 ocaml_version = (builtins.parseDrvName ocaml.name).version;
5 version = "0.5.2";
6in
7
8stdenv.mkDerivation {
9 name = "ocaml-ssl-${version}";
10
11 src = fetchurl {
12 url = "mirror://sourceforge/project/savonet/ocaml-ssl/0.5.2/ocaml-ssl-0.5.2.tar.gz";
13
14 sha256 = "0341rm8aqrckmhag1lrqfnl17v6n4ci8ibda62ahkkn5cxd58cpp";
15 };
16
17 buildInputs = [which ocaml findlib];
18
19 propagatedBuildInputs = [openssl];
20
21 dontAddPrefix = true;
22
23 createFindlibDestdir = true;
24
25 meta = {
26 homepage = http://savonet.rastageeks.org/;
27 description = "OCaml bindings for libssl ";
28 license = "LGPL+link exception";
29 platforms = ocaml.meta.platforms or [];
30 maintainers = [
31 stdenv.lib.maintainers.z77z
32 ];
33 };
34}