python3Packages.password-entropy: init at 1.0

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-07-08 09:33:05 -04:00
parent 95e89b7eb2
commit 9218533eb2
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "password-entropy";
version = "1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "alistratov";
repo = "password-entropy-py";
tag = version;
hash = "sha256-w721Y/zRMH3fsU0XtaGSDoj1GKqOW/IOGUfimoq4r2E=";
};
build-system = [
flit-core
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"data_password_entropy"
];
meta = {
description = "Calculate password strength";
homepage = "https://github.com/alistratov/password-entropy-py";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}
+2
View File
@@ -11194,6 +11194,8 @@ self: super: with self; {
passlib = callPackage ../development/python-modules/passlib { };
password-entropy = callPackage ../development/python-modules/password-entropy { };
paste = callPackage ../development/python-modules/paste { };
pastedeploy = callPackage ../development/python-modules/pastedeploy { };