depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

20 lines
512 B
Nix

{ buildDunePackage, mirage-crypto, ounit2, randomconv, dune-configurator
, cstruct, duration, logs, mtime, ocaml_lwt }:
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 mtime ocaml_lwt ];
strictDeps = true;
meta = mirage-crypto.meta // {
description = "A cryptographically secure PRNG";
};
}