pythonPackages.zxcvbn: init at 4.4.28

This commit is contained in:
Mario Rodas 2019-05-30 07:46:00 -05:00
parent ecfe4b40e2
commit c86f50122f
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "zxcvbn";
version = "4.4.28";
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "dwolfhub";
repo = "zxcvbn-python";
rev = "45afdf0d3dd8477bc7e457629bb4bc9680794cd7"; # not tagged in repository
sha256 = "0w0sx9ssjks8da973cdv5xi87yjsf038jqxmzj2y26xvpyjsg2v2";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Python implementation of Dropbox's realistic password strength estimator";
homepage = "https://github.com/dwolfhub/zxcvbn-python";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}

View File

@ -5468,6 +5468,8 @@ in {
inherit (pkgs) zstd pkgconfig;
};
zxcvbn = callPackage ../development/python-modules/zxcvbn { };
incremental = callPackage ../development/python-modules/incremental { };
treq = callPackage ../development/python-modules/treq { };