nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix
Vincent Laporte 5b9a398716
ocamlPackages.mirage-unix: 4.0.1 → 5.0.0
ocamlPackages.mirage-crypto: 0.10.5 → 0.10.6
2022-09-15 15:35:45 +02:00

22 lines
551 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 ];
strictDeps = !doCheck;
doCheck = true;
checkInputs = [ ounit2 randomconv ];
meta = mirage-crypto.meta // {
description = "Simple public-key cryptography for the modern age";
};
}