Skip to content

Commit 2f23cfb

Browse files
emarynemaryn
authored andcommitted
python312Packages.pwdlib: init at 0.2.1
1 parent 1f62295 commit 2f23cfb

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
hatchling,
6+
hatch-regex-commit,
7+
pytestCheckHook,
8+
pytest-cov-stub,
9+
argon2-cffi,
10+
bcrypt,
11+
}:
12+
13+
buildPythonPackage rec {
14+
pname = "pwdlib";
15+
version = "0.2.1";
16+
pyproject = true;
17+
18+
src = fetchFromGitHub {
19+
owner = "frankie567";
20+
repo = "pwdlib";
21+
tag = "v${version}";
22+
hash = "sha256-aPrgn5zfKk72QslGzb0acCNnZ7m3lyIBjvu4yhfZhSQ=";
23+
};
24+
25+
build-system = [
26+
hatchling
27+
hatch-regex-commit
28+
];
29+
30+
dependencies = [
31+
argon2-cffi
32+
bcrypt
33+
];
34+
35+
pythonImportsCheck = [ "pwdlib" ];
36+
37+
nativeCheckInputs = [
38+
pytestCheckHook
39+
pytest-cov-stub
40+
];
41+
42+
meta = {
43+
description = "Modern password hashing for Python";
44+
changelog = "https://github.com/frankie567/pwdlib/releases/tag/v${version}";
45+
homepage = "https://github.com/frankie567/pwdlib";
46+
license = lib.licenses.mit;
47+
maintainers = with lib.maintainers; [ emaryn ];
48+
};
49+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11950,6 +11950,8 @@ self: super: with self; {
1195011950

1195111951
pvo = callPackage ../development/python-modules/pvo { };
1195211952

11953+
pwdlib = callPackage ../development/python-modules/pwdlib { };
11954+
1195311955
pweave = callPackage ../development/python-modules/pweave { };
1195411956

1195511957
pwinput = callPackage ../development/python-modules/pwinput { };

0 commit comments

Comments
 (0)