nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
2023-03-09 18:19:14 +01:00

22 lines
523 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;
duneVersion = "3";
doCheck = true;
checkInputs = [ ounit2 randomconv ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ];
strictDeps = true;
meta = mirage-crypto.meta // {
description = "A cryptographically secure PRNG";
};
}