b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
22 lines
650 B
Nix
22 lines
650 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 rec {
|
|
pname = "mirage-crypto-rng-mirage";
|
|
|
|
inherit (mirage-crypto-rng) version src;
|
|
|
|
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 ];
|
|
|
|
strictDeps = !doCheck;
|
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
};
|
|
}
|