about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/eqaf/default.nix
blob: d777755253c27bdd24ce845cc57959dc92e679f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ 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 ];
  };

}