nixpkgs/pkgs/development/python-modules/zxcvbn/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
685 B
Nix
Raw Normal View History

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