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

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

  inherit (mirage-crypto) version src;

  duneVersion = "3";

  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";
  };
}