blob: f6fbcb8945d83b74f633671443d5946406c19fc9 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "zxcvbn";
version = "4.5.0";
format = "setuptools";
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "dwolfhub";
repo = "zxcvbn-python";
tag = "v${version}";
hash = "sha256-0SVJkJMEMnZVMpamDVP02kMwWRSj5zGlrMYG9kn0aXQ=";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python implementation of Dropbox's realistic password strength estimator";
mainProgram = "zxcvbn";
homepage = "https://github.com/dwolfhub/zxcvbn-python";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|