8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
20 lines
543 B
Nix
20 lines
543 B
Nix
{ buildDunePackage, mirage-crypto, ounit, randomconv, dune-configurator
|
|
, cstruct, duration, logs, mtime, ocaml_lwt }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-crypto-rng";
|
|
|
|
inherit (mirage-crypto) version src useDune2 minimumOCamlVersion;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit randomconv ];
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ];
|
|
|
|
strictDeps = !doCheck;
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "A cryptographically secure PRNG";
|
|
};
|
|
}
|