mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
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
28 lines
493 B
Nix
28 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";
|
|
};
|
|
}
|