depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

20 lines
543 B
Nix

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