nixpkgs/pkgs/development/ocaml-modules/eqaf/default.nix

24 lines
648 B
Nix
Raw Permalink Normal View History

{ lib, fetchurl, buildDunePackage, cstruct, bigarray-compat }:
2019-10-06 23:44:19 -07:00
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "eqaf";
2020-05-20 15:53:35 -07:00
version = "0.7";
2020-11-18 22:36:23 -08:00
useDune2 = true;
2019-10-06 23:44:19 -07:00
src = fetchurl {
url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz";
2020-05-20 15:53:35 -07:00
sha256 = "1q09pwhs121vpficl2af1yzs4y7dd9bc1lcxbqyfc4x4m6p6drhh";
2019-10-06 23:44:19 -07:00
};
propagatedBuildInputs = [ cstruct bigarray-compat ];
2019-10-06 23:44:19 -07:00
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 ];
};
}