Files
nixpkgs/pkgs/development/python-modules/pwdlib/default.nix
Wolfgang Walther c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00

50 lines
896 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-regex-commit,
pytestCheckHook,
pytest-cov-stub,
argon2-cffi,
bcrypt,
}:
buildPythonPackage rec {
pname = "pwdlib";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "frankie567";
repo = "pwdlib";
tag = "v${version}";
hash = "sha256-aPrgn5zfKk72QslGzb0acCNnZ7m3lyIBjvu4yhfZhSQ=";
};
build-system = [
hatchling
hatch-regex-commit
];
dependencies = [
argon2-cffi
bcrypt
];
pythonImportsCheck = [ "pwdlib" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "Modern password hashing for Python";
changelog = "https://github.com/frankie567/pwdlib/releases/tag/v${version}";
homepage = "https://github.com/frankie567/pwdlib";
license = lib.licenses.mit;
maintainers = [ ];
};
}