depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

20 lines
478 B
Nix

{ buildDunePackage, mirage-crypto, ounit2, randomconv, dune-configurator
, cstruct, duration, logs }:
buildDunePackage rec {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src;
doCheck = true;
checkInputs = [ ounit2 randomconv ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ cstruct mirage-crypto duration logs ];
strictDeps = true;
meta = mirage-crypto.meta // {
description = "A cryptographically secure PRNG";
};
}