21 lines
523 B
Nix
21 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";
|
|
};
|
|
}
|