4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
20 lines
512 B
Nix
20 lines
512 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 = true;
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "A cryptographically secure PRNG";
|
|
};
|
|
}
|