2022-07-25 01:31:10 +00:00
|
|
|
{ alcotest
|
|
|
|
, buildDunePackage
|
|
|
|
, dune-configurator
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, ocaml
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
}:
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2019-09-30 19:57:19 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ssl";
|
2022-09-01 22:38:20 +00:00
|
|
|
version = "0.5.12";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
2019-09-30 19:57:19 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-ssl";
|
2022-07-25 01:31:10 +00:00
|
|
|
rev = version;
|
2022-09-01 22:38:20 +00:00
|
|
|
sha256 = "sha256-cQUJ7t7C9R74lDy1/lt+up4E5CogiPbeZpaDveDzJ7c=";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
};
|
|
|
|
|
2019-09-30 19:57:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-02-03 19:45:18 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
2022-07-25 01:31:10 +00:00
|
|
|
propagatedBuildInputs = [ openssl ];
|
|
|
|
|
2022-08-23 06:04:50 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2022-07-25 01:31:10 +00:00
|
|
|
checkInputs = [ alcotest ];
|
|
|
|
preCheck = ''
|
|
|
|
mkdir -p _build/default/tests/
|
|
|
|
cp tests/digicert_certificate.pem _build/default/tests/
|
|
|
|
'';
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://savonet.rastageeks.org/";
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
description = "OCaml bindings for libssl ";
|
|
|
|
license = "LGPL+link exception";
|
2022-07-25 01:31:10 +00:00
|
|
|
maintainers = with lib.maintainers; [ anmonteiro dandellion maggesi ];
|
* Add ocaml packages findlib, camlzip, ocaml-ssl, ocaml-batteries, menhir, camomile, ocaml-lwt, cryptokit, ocaml-cryptgps, ounit, ocaml-react
svn path=/nixpkgs/trunk/; revision=25041
2010-12-09 15:40:04 +00:00
|
|
|
};
|
|
|
|
}
|