depot/third_party/nixpkgs/pkgs/development/ocaml-modules/eqaf/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

22 lines
594 B
Nix

{ lib, fetchurl, buildDunePackage, cstruct }:
buildDunePackage rec {
minimalOCamlVersion = "4.07";
pname = "eqaf";
version = "0.9";
src = fetchurl {
url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-${version}.tbz";
sha256 = "sha256-7A4oqUasaBf5XVhU8FqZYa46hAi7YQ55z60BubJV3+A=";
};
propagatedBuildInputs = [ cstruct ];
meta = {
description = "Constant time equal function to avoid timing attacks in OCaml";
homepage = "https://github.com/mirage/eqaf";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}