nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 ocaml,
4 buildDunePackage,
5 crowbar,
6 eio,
7 eio_main,
8 logs,
9 mdx,
10 mirage-crypto-rng,
11 ptime,
12 tls,
13}:
14
15buildDunePackage {
16 pname = "tls-eio";
17
18 inherit (tls) src meta version;
19
20 minimalOCamlVersion = "5.0";
21
22 __darwinAllowLocalNetworking = true;
23
24 doCheck = lib.versionAtLeast ocaml.version "5.1";
25 nativeCheckInputs = [
26 mdx.bin
27 ];
28 checkInputs = [
29 crowbar
30 eio_main
31 (mdx.override { inherit logs; })
32 ];
33
34 propagatedBuildInputs = [
35 ptime
36 eio
37 mirage-crypto-rng
38 tls
39 ];
40}