1{ lib, fetchurl, buildDunePackage, cstruct }:
2
3buildDunePackage rec {
4 minimalOCamlVersion = "4.07";
5 duneVersion = "3";
6 pname = "eqaf";
7 version = "0.9";
8
9 src = fetchurl {
10 url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-${version}.tbz";
11 hash = "sha256-7A4oqUasaBf5XVhU8FqZYa46hAi7YQ55z60BubJV3+A=";
12 };
13
14 propagatedBuildInputs = [ cstruct ];
15
16 meta = {
17 description = "Constant time equal function to avoid timing attacks in OCaml";
18 homepage = "https://github.com/mirage/eqaf";
19 license = lib.licenses.mit;
20 maintainers = [ lib.maintainers.vbgl ];
21 };
22
23}