diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix b/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix new file mode 100644 index 000000000000..d6c4d494510d --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/mirage-crypto/pk.nix @@ -0,0 +1,19 @@ +{ buildDunePackage, ounit, randomconv, mirage-crypto, mirage-crypto-rng +, cstruct, sexplib, ppx_sexp_conv, zarith, eqaf, rresult, gmp }: + +buildDunePackage { + pname = "mirage-crypto-pk"; + + inherit (mirage-crypto) version src useDune2 minimumOCamlVersion; + + buildInputs = [ gmp ]; + propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng + zarith eqaf rresult sexplib ppx_sexp_conv ]; + + doCheck = true; + checkInputs = [ ounit randomconv ]; + + meta = mirage-crypto.meta // { + description = "Simple public-key cryptography for the modern age"; + }; +} |