2020-06-19 16:52:53 +01:00
|
|
|
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
2021-01-04 15:11:20 +00:00
|
|
|
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix
|
|
|
|
, logs, lwt
|
|
|
|
}:
|
2020-06-19 16:52:53 +01:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
buildDunePackage rec {
|
2020-06-19 16:52:53 +01:00
|
|
|
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
|
2021-01-04 15:11:20 +00:00
|
|
|
mirage-time mirage-clock logs lwt ];
|
2020-06-19 16:52:53 +01:00
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
strictDeps = !doCheck;
|
|
|
|
|
2020-06-19 16:52:53 +01:00
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
|
|
};
|
|
|
|
}
|