depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

20 lines
649 B
Nix

{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix
, logs, lwt
}:
buildDunePackage {
pname = "mirage-crypto-rng-mirage";
inherit (mirage-crypto-rng) version src useDune2 minimumOCamlVersion;
doCheck = true;
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
mirage-time mirage-clock logs lwt ];
meta = mirage-crypto-rng.meta // {
description = "Entropy collection for a cryptographically secure PRNG";
};
}