summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/eqaf
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-10-07 06:44:19 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-10-15 07:08:13 +0200
commite191a69e8d97935f00e3ad5f63fe63c869955c69 (patch)
tree70fa124d23c487ad034cc115d2c38cc83e68a592 /pkgs/development/ocaml-modules/eqaf
parentfabe8a98227cc5d0eb69e69c8ef5c69fd134b15f (diff)
downloadnixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.tar
nixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.tar.gz
nixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.tar.bz2
nixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.tar.lz
nixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.tar.xz
nixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.tar.zst
nixpkgs-e191a69e8d97935f00e3ad5f63fe63c869955c69.zip
ocamlPackages.eqaf: init at 0.5
Diffstat (limited to 'pkgs/development/ocaml-modules/eqaf')
-rw-r--r--pkgs/development/ocaml-modules/eqaf/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/eqaf/default.nix b/pkgs/development/ocaml-modules/eqaf/default.nix
new file mode 100644
index 00000000000..966fe30197d
--- /dev/null
+++ b/pkgs/development/ocaml-modules/eqaf/default.nix
@@ -0,0 +1,20 @@
+{ lib, fetchurl, buildDunePackage }:
+
+buildDunePackage rec {
+  minimumOCamlVersion = "4.03";
+  pname = "eqaf";
+  version = "0.5";
+
+  src = fetchurl {
+    url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz";
+    sha256 = "1wkkmw8q2ml7ifpg0g06y0sclq0zvjf6dpsi36dnci7f230q3vsq";
+  };
+
+  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 ];
+  };
+
+}