mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +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
21 lines
543 B
Nix
21 lines
543 B
Nix
{ buildDunePackage, mirage-crypto, ounit, randomconv, dune-configurator
|
|
, cstruct, duration, logs, mtime, ocaml_lwt }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-crypto-rng";
|
|
|
|
inherit (mirage-crypto) version src useDune2 minimumOCamlVersion;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit randomconv ];
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ];
|
|
|
|
strictDeps = !doCheck;
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "A cryptographically secure PRNG";
|
|
};
|
|
}
|