Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
21 lines
619 B
Nix
21 lines
619 B
Nix
{ buildDunePackage, mirage-crypto-rng, duration, mirage-runtime
|
|
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix
|
|
, logs, lwt
|
|
, ohex
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-crypto-rng-mirage";
|
|
|
|
inherit (mirage-crypto-rng) version src;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ohex ];
|
|
|
|
propagatedBuildInputs = [ duration mirage-crypto-rng mirage-runtime
|
|
mirage-time mirage-clock logs lwt ];
|
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
};
|
|
}
|