depot/third_party/nixpkgs/pkgs/development/python-modules/zxcvbn/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

29 lines
679 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook }:
buildPythonPackage rec {
pname = "zxcvbn";
version = "4.4.28";
format = "setuptools";
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "dwolfhub";
repo = "zxcvbn-python";
rev = "refs/tags/v${version}";
hash = "sha256-etcST7pxlpOH5Q9KtOPGf1vmnkyjEp6Cd5QCmBjW9Hc=";
};
checkInputs = [
pytestCheckHook
];
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 ];
};
}