python312Packages.pwdlib: init at 0.2.1
This commit is contained in:
parent
1f622956bd
commit
2f23cfb714
49
pkgs/development/python-modules/pwdlib/default.nix
Normal file
49
pkgs/development/python-modules/pwdlib/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
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 = with lib.maintainers; [ emaryn ];
|
||||
};
|
||||
}
|
||||
@ -11950,6 +11950,8 @@ self: super: with self; {
|
||||
|
||||
pvo = callPackage ../development/python-modules/pvo { };
|
||||
|
||||
pwdlib = callPackage ../development/python-modules/pwdlib { };
|
||||
|
||||
pweave = callPackage ../development/python-modules/pweave { };
|
||||
|
||||
pwinput = callPackage ../development/python-modules/pwinput { };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user