nixpkgs-suyu/pkgs/development/ocaml-modules/mirage-crypto/rng.nix

17 lines
408 B
Nix
Raw Normal View History

{ 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";
};
}