nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
Vincent Laporte 5b9a398716
ocamlPackages.mirage-unix: 4.0.1 → 5.0.0
ocamlPackages.mirage-crypto: 0.10.5 → 0.10.6
2022-09-15 15:35:45 +02:00

21 lines
516 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 = !doCheck;
meta = mirage-crypto.meta // {
description = "A cryptographically secure PRNG";
};
}