Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 41 lines 905 B view raw
1{ alcotest 2, buildDunePackage 3, dune-configurator 4, fetchFromGitHub 5, lib 6, ocaml 7, openssl 8, pkg-config 9}: 10 11buildDunePackage rec { 12 pname = "ssl"; 13 version = "0.5.13"; 14 15 duneVersion = "3"; 16 17 src = fetchFromGitHub { 18 owner = "savonet"; 19 repo = "ocaml-ssl"; 20 rev = version; 21 sha256 = "sha256-Ws7QZOvZVy0QixMiBFJZEOnYzYlCWrZ1d95gOp/a5a0="; 22 }; 23 24 nativeBuildInputs = [ pkg-config ]; 25 buildInputs = [ dune-configurator ]; 26 propagatedBuildInputs = [ openssl ]; 27 28 doCheck = lib.versionAtLeast ocaml.version "4.08"; 29 checkInputs = [ alcotest ]; 30 preCheck = '' 31 mkdir -p _build/default/tests/ 32 cp tests/digicert_certificate.pem _build/default/tests/ 33 ''; 34 35 meta = { 36 homepage = "http://savonet.rastageeks.org/"; 37 description = "OCaml bindings for libssl "; 38 license = "LGPL+link exception"; 39 maintainers = with lib.maintainers; [ anmonteiro dandellion maggesi ]; 40 }; 41}