3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/ssl/default.nix

30 lines
743 B
Nix
Raw Normal View History

2016-11-21 18:20:25 +00:00
{ stdenv, fetchzip, which, openssl, ocaml, findlib }:
2016-10-05 08:32:30 +01:00
stdenv.mkDerivation rec {
2016-11-21 18:20:25 +00:00
name = "ocaml${ocaml.version}-ssl-${version}";
2017-10-05 18:09:50 +01:00
version = "0.5.4";
2016-11-21 18:20:25 +00:00
src = fetchzip {
2017-10-05 18:09:50 +01:00
url = "https://github.com/savonet/ocaml-ssl/releases/download/${version}/ocaml-ssl-${version}.tar.gz";
sha256 = "01sy3f94b463ff7dmkfsv67jh8g8h20wh7npjwqilniif7lgf4l3";
};
buildInputs = [which ocaml findlib];
propagatedBuildInputs = [openssl];
dontAddPrefix = true;
createFindlibDestdir = true;
meta = {
homepage = http://savonet.rastageeks.org/;
description = "OCaml bindings for libssl ";
license = "LGPL+link exception";
platforms = ocaml.meta.platforms or [];
maintainers = [
stdenv.lib.maintainers.z77z
];
};
}