a13cdfe520
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild. This makes some closures significantly smaller and makes cross compilation easier
27 lines
493 B
Nix
27 lines
493 B
Nix
{ lib, buildDunePackage
|
|
, mirage-crypto, mirage-crypto-rng
|
|
, dune-configurator, async, logs
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "mirage-crypto-rng-async";
|
|
|
|
inherit (mirage-crypto) useDune2 version minimumOCamlVersion src;
|
|
|
|
buildInputs = [
|
|
dune-configurator
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
async
|
|
logs
|
|
mirage-crypto
|
|
mirage-crypto-rng
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "Feed the entropy source in an Async-friendly way";
|
|
};
|
|
}
|