diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-12-28 16:03:46 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-12-29 15:15:04 +0100 |
commit | 9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66 (patch) | |
tree | e5a1853ad526016d62f0760e885b13f05b6a7e60 /pkgs/development/ocaml-modules/safepass | |
parent | 9245516b46a64316f1d7b0622ff12519a0316044 (diff) | |
download | nixlib-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar nixlib-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.gz nixlib-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.bz2 nixlib-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.lz nixlib-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.xz nixlib-9fc35ed766cabb36326be1f1cb1fbbfdb8c95d66.tar.zst nixlib-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.nix | 21 |
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 000000000000..7fc5dadda74e --- /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 ]; + }; +} |