2017-05-01 08:53:11 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zxcvbn-python";
|
2017-09-05 10:16:41 +01:00
|
|
|
version = "4.4.16";
|
2017-05-01 08:53:11 +01:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-05 10:16:41 +01:00
|
|
|
sha256 = "63cc481bfb8950c43d4a87926be22cf8c4bb281ef7f818a8ef2d30b55a97c3e0";
|
2017-05-01 08:53:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python implementation of Dropbox's realistic password strength estimator, zxcvbn";
|
|
|
|
homepage = https://github.com/dwolfhub/zxcvbn-python;
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|