nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/rng.nix
sternenseemann d78a3bac05 ocamlPackages.mirage-crypto*: 0.7.0 → 0.8.0
* ocamlPackages.mirage-crypto
* ocamlPackages.mirage-crypto-pk
* ocamlPackages.mirage-crypto-rng
* ocamlPackages.mirage-crypto-rng-mirage: new package which was
  previously part of mirage-crypto-rng
2020-06-19 22:56:58 +02:00

19 lines
519 B
Nix

{ buildDunePackage, mirage-crypto, ounit, randomconv, dune-configurator
, cstruct, duration, logs, mtime, ocaml_lwt }:
buildDunePackage {
pname = "mirage-crypto-rng";
inherit (mirage-crypto) version src useDune2 minimumOCamlVersion;
doCheck = true;
checkInputs = [ ounit randomconv ];
nativeBuildInputs = [ dune-configurator ];
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ];
meta = mirage-crypto.meta // {
description = "A cryptographically secure PRNG";
};
}