depot/third_party/nixpkgs/pkgs/development/ocaml-modules/eqaf/default.nix
Default email ed0c4a69f0 Project import generated by Copybara.
GitOrigin-RevId: e3652e0735fbec227f342712f180f4f21f0594f2
2023-03-31 00:05:00 +02:00

23 lines
613 B
Nix

{ lib, fetchurl, buildDunePackage, cstruct }:
buildDunePackage rec {
minimalOCamlVersion = "4.07";
duneVersion = "3";
pname = "eqaf";
version = "0.9";
src = fetchurl {
url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-${version}.tbz";
hash = "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 ];
};
}