File: zxcvbn-c.cabal

package info (click to toggle)
haskell-zxcvbn-c 1.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 892 kB
  • sloc: ansic: 1,273; cpp: 1,269; makefile: 49; haskell: 15
file content (48 lines) | stat: -rw-r--r-- 1,227 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Name: zxcvbn-c
Version: 1.0.1
Cabal-Version: >= 1.8
Maintainer: Joey Hess <id@joeyh.name>
Author: Joey Hess
Stability: Stable
Copyright: 2016 Joey Hess, 2015 Tony Evans
License: BSD3
License-File: COPYRIGHT
Build-Type: Custom
Category: System
Synopsis: Password strength estimation
Description:
 This is a Haskell binding to the C port of the zxcvbn
 password strength estimator, from <https://github.com/tsyrogit/zxcvbn-c>
 .
 An article on the reasons for zxcvbn is at
 <https://tech.dropox.com/2012/04/zxcvbn-realistic-password-strength-estimation>
Extra-Source-Files:
 CHANGELOG
 dict-generate.cpp
 makefile
 words-10k-pass.txt
 words-english.txt
 words-female.txt
 words-male.txt
 words-surname.txt
 zxcvbn.h
 zxcvbn.c

Flag use-shared-lib
  Description: Link with system's zxcvbn shared library, instead of the copy included with this package.
  Default: False

Library
  Build-Depends: base (>= 4.5 && < 5.0)
  Exposed-Modules: Text.Password.Strength
  GHC-Options: -Wall -fno-warn-tabs
  Extensions: ForeignFunctionInterface
  Include-Dirs: .
  if flag(use-shared-lib)
    Extra-Libraries: zxcvbn
  else
    C-Sources: zxcvbn.c zxcvbn.h

source-repository head
  type: git
  location: git://git.joeyh.name/zxcvbn-c.git