mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
d78a3bac05
* 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
19 lines
628 B
Nix
19 lines
628 B
Nix
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
|
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix }:
|
|
|
|
buildDunePackage {
|
|
pname = "mirage-crypto-rng-mirage";
|
|
|
|
inherit (mirage-crypto-rng) version src useDune2 minimumOCamlVersion;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
|
|
|
propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
|
|
mirage-time mirage-clock ];
|
|
|
|
meta = mirage-crypto-rng.meta // {
|
|
description = "Entropy collection for a cryptographically secure PRNG";
|
|
};
|
|
}
|