3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/zxcvbn/default.nix

28 lines
708 B
Nix
Raw Normal View History

2019-05-30 13:46:00 +01:00
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
2019-08-13 22:52:01 +01:00
buildPythonPackage {
2019-05-30 13:46:00 +01:00
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 ];
};
}