Merge pull request #182758 from superherointj/package-ocamlPackages.ssl-0.5.11

ocamlPackages.ssl: 0.5.10 -> 0.5.11
This commit is contained in:
superherointj 2022-07-31 14:33:18 -03:00 committed by GitHub
commit 58de79e9a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ];
};
}