2024-10-11 21:48:19 +02:00
|
|
|
{
|
|
|
|
buildDunePackage,
|
|
|
|
ohex,
|
|
|
|
ounit2,
|
|
|
|
randomconv,
|
|
|
|
mirage-crypto,
|
|
|
|
mirage-crypto-rng,
|
|
|
|
zarith,
|
|
|
|
gmp,
|
|
|
|
}:
|
2020-04-13 13:20:48 +02:00
|
|
|
|
2025-02-18 05:43:14 +01:00
|
|
|
buildDunePackage {
|
2020-04-13 13:20:48 +02:00
|
|
|
pname = "mirage-crypto-pk";
|
|
|
|
|
2022-09-13 14:14:19 +02:00
|
|
|
inherit (mirage-crypto) version src;
|
2020-04-13 13:20:48 +02:00
|
|
|
|
|
|
|
buildInputs = [ gmp ];
|
2024-10-11 21:48:19 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
mirage-crypto
|
|
|
|
mirage-crypto-rng
|
|
|
|
zarith
|
|
|
|
];
|
2020-04-13 13:20:48 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
2024-10-11 21:48:19 +02:00
|
|
|
checkInputs = [
|
|
|
|
ohex
|
|
|
|
ounit2
|
|
|
|
randomconv
|
|
|
|
];
|
2020-04-13 13:20:48 +02:00
|
|
|
|
|
|
|
meta = mirage-crypto.meta // {
|
|
|
|
description = "Simple public-key cryptography for the modern age";
|
|
|
|
};
|
|
|
|
}
|