File: default.nix

package info (click to toggle)
ocaml-ssl 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 448 kB
  • sloc: ml: 1,568; ansic: 1,547; makefile: 35
file content (28 lines) | stat: -rw-r--r-- 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv
, lib
, ocamlPackages
, openssl-oc
, doCheck ? false
, pkg-config
}:

with ocamlPackages;

buildDunePackage {
  pname = "ssl";
  version = "n/a";

  useDune2 = true;

  src = ../.;

  nativeBuildInputs = [ ocaml dune findlib pkg-config ];
  buildInputs = [ dune-configurator ];
  propagatedBuildInputs = [
    openssl-oc.dev
  ];
  nativeCheckInputs = [ openssl-oc ];
  checkInputs = [ alcotest ];

  inherit doCheck;
}