2021-01-04 15:11:20 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, mirage-crypto, mirage-crypto-rng
|
|
|
|
, dune-configurator, async, logs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "mirage-crypto-rng-async";
|
|
|
|
|
|
|
|
inherit (mirage-crypto) useDune2 version minimumOCamlVersion src;
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
buildInputs = [
|
2021-01-04 15:11:20 +00:00
|
|
|
dune-configurator
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
async
|
|
|
|
logs
|
|
|
|
mirage-crypto
|
|
|
|
mirage-crypto-rng
|
|
|
|
];
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-01-04 15:11:20 +00:00
|
|
|
meta = mirage-crypto.meta // {
|
|
|
|
description = "Feed the entropy source in an Async-friendly way";
|
|
|
|
};
|
|
|
|
}
|