2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
18 lines
628 B
Nix
18 lines
628 B
Nix
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
|
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix }:
|
|
|
|
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 ];
|
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
};
|
|
}
|