summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-crypto/pk.nix
blob: 9a2b9c98e45876be4e8a35ba04100d0ca79c9a56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ buildDunePackage, ounit, randomconv, mirage-crypto, mirage-crypto-rng
, cstruct, sexplib0, zarith, eqaf, gmp }:

buildDunePackage rec {
  pname = "mirage-crypto-pk";

  inherit (mirage-crypto) version src useDune2 minimumOCamlVersion;

  buildInputs = [ gmp ];
  propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng
                            zarith eqaf sexplib0 ];

  strictDeps = !doCheck;

  doCheck = true;
  checkInputs = [ ounit randomconv ];

  meta = mirage-crypto.meta // {
    description = "Simple public-key cryptography for the modern age";
  };
}