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

23 lines
629 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, cstruct, bigarray-compat }:
2019-10-07 08:44:19 +02:00
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "eqaf";
2020-04-13 12:51:02 +02:00
version = "0.6";
2019-10-07 08:44:19 +02:00
src = fetchurl {
url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz";
2020-04-13 12:51:02 +02:00
sha256 = "068r231ia87mpqpaqzqb9sjfj6yaqrwvcls2p173aa4qg38xvsq9";
2019-10-07 08:44:19 +02:00
};
propagatedBuildInputs = [ cstruct bigarray-compat ];
2019-10-07 08:44:19 +02: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 ];
};
}