![Alexis Hildebrandt](/assets/img/avatar_default.png)
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
21 lines
476 B
Nix
21 lines
476 B
Nix
{ buildDunePackage, mirage-crypto, ounit2, randomconv, dune-configurator
|
|
, cstruct, duration, logs }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-crypto-rng";
|
|
|
|
inherit (mirage-crypto) version src;
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit2 randomconv ];
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ cstruct mirage-crypto duration logs ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "Cryptographically secure PRNG";
|
|
};
|
|
}
|