mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
26 lines
477 B
Nix
26 lines
477 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;
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
dune-configurator
|
||
|
];
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
async
|
||
|
logs
|
||
|
mirage-crypto
|
||
|
mirage-crypto-rng
|
||
|
];
|
||
|
|
||
|
meta = mirage-crypto.meta // {
|
||
|
description = "Feed the entropy source in an Async-friendly way";
|
||
|
};
|
||
|
}
|