depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix

18 lines
467 B
Nix

{ buildDunePackage, mirage-crypto, ohex, ounit2, randomconv, dune-configurator
, digestif, duration, logs }:
buildDunePackage rec {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src;
doCheck = true;
checkInputs = [ ohex ounit2 randomconv ];
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ digestif mirage-crypto duration logs ];
meta = mirage-crypto.meta // {
description = "Cryptographically secure PRNG";
};
}