1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/ocaml-modules/safepass/default.nix
Vincent Laporte 9fc35ed766 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/
2014-12-29 15:15:04 +01:00

22 lines
648 B
Nix

{ 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 ];
};
}