summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-crypto/rng-async.nix
blob: 91da7aa568162666ea5a725e51eb36696fe3df7a (plain) (blame)
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
{ lib, buildDunePackage
, mirage-crypto, mirage-crypto-rng
, dune-configurator, async, logs
}:

buildDunePackage {
  pname = "mirage-crypto-rng-async";

  inherit (mirage-crypto) useDune2 version minimumOCamlVersion src;

  buildInputs = [
    dune-configurator
  ];

  propagatedBuildInputs = [
    async
    logs
    mirage-crypto
    mirage-crypto-rng
  ];

  strictDeps = true;

  meta = mirage-crypto.meta // {
    description = "Feed the entropy source in an Async-friendly way";
  };
}