diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/ssl/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/ssl/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/ssl/default.nix b/pkgs/development/ocaml-modules/ssl/default.nix new file mode 100644 index 0000000000000..6d57bd3bbf51a --- /dev/null +++ b/pkgs/development/ocaml-modules/ssl/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchurl, which, openssl, ocaml, findlib}: + +let + ocaml_version = (builtins.parseDrvName ocaml.name).version; + version = "0.4.4"; +in + +stdenv.mkDerivation { + name = "ocaml-ssl-${version}"; + + src = fetchurl { + url = "mirror://debian/pool/main/o/ocaml-ssl/ocaml-ssl_${version}.orig.tar.gz"; + sha256 = "1m45d0bd4ndxswaa1symp6c1npzjmm9pz0nf7w0q15gflqhba5ch"; + }; + + buildInputs = [which openssl ocaml findlib]; + + dontAddPrefix = true; + + configureFlags = "--disable-ldconf"; + + meta = { + homepage = http://savonet.rastageeks.org/; + description = "OCaml bindings for libssl "; + license = "LGPL+link exception"; + }; +} |