nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix
Ulrik Strid a13cdfe520 ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
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
2022-02-24 14:39:27 +01:00

22 lines
578 B
Nix

{ buildDunePackage, ounit, randomconv, mirage-crypto, mirage-crypto-rng
, cstruct, sexplib0, zarith, eqaf, gmp }:
buildDunePackage rec {
pname = "mirage-crypto-pk";
inherit (mirage-crypto) version src useDune2 minimumOCamlVersion;
buildInputs = [ gmp ];
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
zarith eqaf sexplib0 ];
strictDeps = !doCheck;
doCheck = true;
checkInputs = [ ounit randomconv ];
meta = mirage-crypto.meta // {
description = "Simple public-key cryptography for the modern age";
};
}