3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
2020-04-14 18:06:16 +02:00

17 lines
408 B
Nix

{ buildDunePackage, mirage-crypto, ounit, randomconv, cstruct }:
buildDunePackage {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src nativeBuildInputs useDune2 minimumOCamlVersion;
doCheck = true;
checkInputs = [ ounit randomconv ];
propagatedBuildInputs = [ cstruct mirage-crypto ];
meta = mirage-crypto.meta // {
description = "A cryptographically secure PRNG";
};
}