4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
19 lines
525 B
Nix
19 lines
525 B
Nix
{ buildDunePackage, ounit2, randomconv, mirage-crypto, mirage-crypto-rng
|
|
, cstruct, sexplib0, zarith, eqaf, gmp }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "mirage-crypto-pk";
|
|
|
|
inherit (mirage-crypto) version src;
|
|
|
|
buildInputs = [ gmp ];
|
|
propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
|
|
zarith eqaf sexplib0 ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ ounit2 randomconv ];
|
|
|
|
meta = mirage-crypto.meta // {
|
|
description = "Simple public-key cryptography for the modern age";
|
|
};
|
|
}
|