2021-02-13 14:23:35 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, pkg-config, openssl
|
|
|
|
, dune-configurator }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ssl";
|
2021-02-13 14:23:35 +00:00
|
|
|
version = "0.5.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-ssl";
|
2021-02-13 14:23:35 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1rszqiqayh67xlwd5411k8vib47x9kapdr037z1majd2c14z3kcb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
useDune2 = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-02-13 14:23:35 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [openssl];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://savonet.rastageeks.org/";
|
|
|
|
description = "OCaml bindings for libssl ";
|
|
|
|
license = "LGPL+link exception";
|
|
|
|
maintainers = [
|
|
|
|
lib.maintainers.maggesi
|
2021-02-13 14:23:35 +00:00
|
|
|
lib.maintainers.anmonteiro
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|