Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
29 lines
481 B
Nix
29 lines
481 B
Nix
{ buildDunePackage
|
|
, mirage-crypto, mirage-crypto-rng
|
|
, dune-configurator, async, logs
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "mirage-crypto-rng-async";
|
|
|
|
inherit (mirage-crypto) version src;
|
|
|
|
duneVersion = "3";
|
|
|
|
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";
|
|
};
|
|
}
|