Merge pull request #192087 from SuperSandro2000/python310Packages.bcrypt
This commit is contained in:
commit
07836434b0
|
@ -8,6 +8,12 @@
|
|||
, pythonOlder
|
||||
, cffi
|
||||
, pytestCheckHook
|
||||
# for passthru.tests
|
||||
, asyncssh
|
||||
, django_4
|
||||
, fastapi
|
||||
, paramiko
|
||||
, twisted
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -33,8 +39,8 @@ buildPythonPackage rec {
|
|||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-rust
|
||||
rustPlatform.cargoSetupHook
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
rust.cargo
|
||||
rust.rustc
|
||||
]);
|
||||
|
@ -55,6 +61,10 @@ buildPythonPackage rec {
|
|||
"bcrypt"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit asyncssh django_4 fastapi paramiko twisted;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern password hashing for your software and your servers";
|
||||
homepage = "https://github.com/pyca/bcrypt/";
|
||||
|
|
|
@ -28,9 +28,15 @@ buildPythonPackage rec {
|
|||
++ passthru.optional-dependencies.bcrypt
|
||||
++ passthru.optional-dependencies.totp;
|
||||
|
||||
disabledTests = [
|
||||
# timming sensitive
|
||||
"test_dummy_verify"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A password hashing library for Python";
|
||||
homepage = "https://foss.heptapod.net/python-libs/passlib";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue