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
|
|
|
|
|
|
|
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
|
2021-01-04 15:11:20 +00:00
|
|
|
mirage-time mirage-clock logs lwt ];
|
2020-06-19 16:52:53 +01:00
|
|
|
|
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
|
|
};
|
|
|
|
}
|