depot/third_party/nixpkgs/pkgs/development/ocaml-modules/eqaf/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
629 B
Nix

{ lib, fetchurl, buildDunePackage, cstruct, bigarray-compat }:
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "eqaf";
version = "0.6";
src = fetchurl {
url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz";
sha256 = "068r231ia87mpqpaqzqb9sjfj6yaqrwvcls2p173aa4qg38xvsq9";
};
propagatedBuildInputs = [ cstruct bigarray-compat ];
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 ];
};
}