2017-05-01 08:53:11 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zxcvbn-python";
|
2018-04-04 19:19:47 +01:00
|
|
|
version = "4.4.22";
|
2017-05-01 08:53:11 +01:00
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:19:47 +01:00
|
|
|
sha256 = "402d4222dc9994baed66a19a1cf5cb5c3fafd065f9cabc4cf7d5a2915e980979";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|