depot/third_party/nixpkgs/pkgs/development/ocaml-modules/cryptokit/default.nix
Default email eefb417d14 Project import generated by Copybara.
GitOrigin-RevId: a52e974cff8fb80c427e0d55c01b3b8c770ccec4
2020-11-06 01:33:48 +01:00

29 lines
722 B
Nix

{ lib, buildDunePackage, fetchurl, zlib, dune-configurator, zarith, ncurses }:
buildDunePackage {
pname = "cryptokit";
version = "1.16.1";
useDune2 = true;
src = fetchurl {
url = "https://github.com/xavierleroy/cryptokit/archive/release1161.tar.gz";
sha256 = "0kzqkk451m69nqi5qiwak0rd0rp5vzi613gcngsiig7dyxwka61c";
};
dontConfigure = true;
buildInputs = [ dune-configurator ncurses ];
propagatedBuildInputs = [ zarith zlib ];
doCheck = true;
meta = {
homepage = "http://pauillac.inria.fr/~xleroy/software.html";
description = "A library of cryptographic primitives for OCaml";
license = lib.licenses.lgpl2Only;
maintainers = [
lib.maintainers.maggesi
];
};
}