python312Packages.passlib: modernize and adopt (#351911)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitLab,
|
||||
argon2-cffi,
|
||||
bcrypt,
|
||||
cryptography,
|
||||
@@ -14,15 +14,20 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "passlib";
|
||||
version = "1.7.4";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3v1Q9ytlxUAqssVzgwppeOXyAq0NmEeTyN3ixBUuvgQ";
|
||||
src = fetchFromGitLab {
|
||||
domain = "foss.heptapod.net";
|
||||
owner = "python-libs";
|
||||
repo = "passlib";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Mx2Xg/KAEfvfep2B/gWATTiAPJc+f22MTcsEdRpt3n8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ setuptools ];
|
||||
|
||||
optional-dependencies = {
|
||||
@@ -60,10 +65,11 @@ buildPythonPackage rec {
|
||||
"--deselect=passlib/tests/test_handlers.py::sha256_crypt_os_crypt_test::test_82_crypt_support"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://foss.heptapod.net/python-libs/passlib/-/blob/${version}/docs/history/${lib.versions.majorMinor version}.rst";
|
||||
description = "Password hashing library for Python";
|
||||
homepage = "https://foss.heptapod.net/python-libs/passlib";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.bsdOriginal;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user