depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

21 lines
645 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;
duneVersion = "3";
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 ];
meta = mirage-crypto-rng.meta // {
description = "Entropy collection for a cryptographically secure PRNG";
};
}