8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
21 lines
578 B
Nix
21 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";
|
|
};
|
|
}
|