mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
22 lines
547 B
Nix
22 lines
547 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;
|
|
|
|
duneVersion = "3";
|
|
|
|
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";
|
|
};
|
|
}
|