ocamlPackages.ssl: 0.5.10 -> 0.5.11

This commit is contained in:
superherointj 2022-07-24 22:31:10 -03:00
parent 9b6411cf6e
commit 95ba3d1e69

View File

@ -1,30 +1,39 @@
{ lib, buildDunePackage, fetchFromGitHub, pkg-config, openssl
, dune-configurator }:
{ alcotest
, buildDunePackage
, dune-configurator
, fetchFromGitHub
, lib
, ocaml
, openssl
, pkg-config
}:
buildDunePackage rec {
pname = "ssl";
version = "0.5.10";
version = "0.5.11";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-ssl";
rev = "v${version}";
sha256 = "1rszqiqayh67xlwd5411k8vib47x9kapdr037z1majd2c14z3kcb";
rev = version;
sha256 = "sha256-uFr+XSKDGMHaM2o5DODYmt7+LkhnDzzlVX//CtAXBm4=";
};
useDune2 = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [openssl];
propagatedBuildInputs = [ openssl ];
doCheck = lib.versionAtLeast ocaml.version "4.06";
checkInputs = [ alcotest ];
preCheck = ''
mkdir -p _build/default/tests/
cp tests/digicert_certificate.pem _build/default/tests/
'';
meta = {
homepage = "http://savonet.rastageeks.org/";
description = "OCaml bindings for libssl ";
license = "LGPL+link exception";
maintainers = [
lib.maintainers.maggesi
lib.maintainers.anmonteiro
lib.maintainers.dandellion
];
maintainers = with lib.maintainers; [ anmonteiro dandellion maggesi ];
};
}