summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/safepass
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-12-28 16:03:46 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-12-29 15:15:04 +0100
commit9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66 (patch)
treee5a1853ad526016d62f0760e885b13f05b6a7e60 /pkgs/development/ocaml-modules/safepass
parent9245516b46a64316f1d7b0622ff12519a0316044 (diff)
downloadnixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar
nixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.gz
nixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.bz2
nixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.lz
nixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.xz
nixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.zst
nixpkgs-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.zip
Adds ocaml-safepass-1.3
OCaml-safepass is a library offering facilities for the safe storage of
user passwords. By "safe" we mean that passwords are salted and hashed
using the Bcrypt algorithm. Salting prevents rainbow-table based
attacks, whereas hashing by a very time-consuming algorithm such as
Bcrypt renders brute-force password cracking impractical.

Homepage: http://ocaml-safepass.forge.ocamlcore.org/
Diffstat (limited to 'pkgs/development/ocaml-modules/safepass')
-rw-r--r--pkgs/development/ocaml-modules/safepass/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/safepass/default.nix b/pkgs/development/ocaml-modules/safepass/default.nix
new file mode 100644
index 00000000000..7fc5dadda74
--- /dev/null
+++ b/pkgs/development/ocaml-modules/safepass/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, ocaml, findlib }:
+
+stdenv.mkDerivation {
+  name = "ocaml-safepass-1.3";
+  src = fetchurl {
+    url = http://forge.ocamlcore.org/frs/download.php/1432/ocaml-safepass-1.3.tgz;
+    sha256 = "0lb8xbpyc5d1zml7s7mmcr6y2ipwdp7qz73lkv9asy7dyi6cj15g";
+  };
+
+  buildInputs = [ ocaml findlib ];
+
+  createFindlibDestdir = true;
+
+  meta = {
+    homepage = http://ocaml-safepass.forge.ocamlcore.org/;
+    description = "An OCaml library offering facilities for the safe storage of user passwords";
+    license = stdenv.lib.licenses.lgpl21;
+    platforms = ocaml.meta.platforms;
+    maintainers = with stdenv.lib.maintainers; [ vbgl ];
+  };
+}