depot/third_party/nixpkgs/pkgs/development/python-modules/zxcvbn/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

30 lines
694 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=";
};
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Python implementation of Dropbox's realistic password strength estimator";
mainProgram = "zxcvbn";
homepage = "https://github.com/dwolfhub/zxcvbn-python";
license = licenses.mit;
maintainers = [ ];
};
}