2020-06-15 15:56:04 +00:00
|
|
|
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
2021-01-05 17:05:55 +00:00
|
|
|
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix
|
|
|
|
, logs, lwt
|
|
|
|
}:
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
buildDunePackage rec {
|
2020-06-15 15:56:04 +00:00
|
|
|
pname = "mirage-crypto-rng-mirage";
|
|
|
|
|
2022-09-22 12:36:57 +00:00
|
|
|
inherit (mirage-crypto-rng) version src;
|
2023-03-15 16:39:30 +00:00
|
|
|
duneVersion = "3";
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
|
2021-01-05 17:05:55 +00:00
|
|
|
mirage-time mirage-clock logs lwt ];
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
|
|
};
|
|
|
|
}
|