depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

18 lines
519 B
Nix

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