2020-04-24 23:36:52 +00:00
|
|
|
{ buildDunePackage, ounit, randomconv, mirage-crypto, mirage-crypto-rng
|
2021-12-19 01:06:50 +00:00
|
|
|
, cstruct, sexplib0, zarith, eqaf, gmp }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "mirage-crypto-pk";
|
|
|
|
|
|
|
|
inherit (mirage-crypto) version src useDune2 minimumOCamlVersion;
|
|
|
|
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
|
2021-12-19 01:06:50 +00:00
|
|
|
zarith eqaf sexplib0 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ ounit randomconv ];
|
|
|
|
|
|
|
|
meta = mirage-crypto.meta // {
|
|
|
|
description = "Simple public-key cryptography for the modern age";
|
|
|
|
};
|
|
|
|
}
|