File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
development/python-modules/pwdlib Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff 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 { };
You can’t perform that action at this time.
0 commit comments