Loading pkgs/development/python-modules/bundlewrap/default.nix +0 −6 Original line number Diff line number Diff line Loading @@ -31,12 +31,6 @@ buildPythonPackage rec { }; build-system = [ setuptools ]; pythonRemoveDeps = [ # distinfo renamed to libpass, but still imports as passlib "passlib" ]; dependencies = [ setuptools cryptography Loading pkgs/development/python-modules/libpass/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { argon2-cffi, bcrypt, buildPythonPackage, cryptography, fetchFromGitHub, hatchling, lib, pytest-archon, pytest-xdist, pytestCheckHook, typing-extensions, }: buildPythonPackage rec { pname = "libpass"; version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; tag = version; hash = "sha256-Q5OEQkty0/DugRvF5LA+PaDDlF/6ysx4Nel5K2kH5s4="; }; build-system = [ hatchling ]; dependencies = [ typing-extensions ]; optional-dependencies = { argon2 = [ argon2-cffi ]; bcrypt = [ bcrypt ]; totp = [ cryptography ]; }; nativeCheckInputs = [ pytest-archon pytest-xdist pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "passlib" ]; disabledTests = [ # timming sensitive "test_dummy_verify" "test_encrypt_cost_timing" ]; meta = { changelog = "https://github.com/ThirVondukr/passlib/blob/${src.tag}/CHANGELOG.md"; description = "Comprehensive password hashing framework supporting over 30 schemes"; homepage = "https://github.com/ThirVondukr/passlib"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/development/python-modules/mitmproxy/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ buildPythonPackage rec { }; pythonRelaxDeps = [ "h2" "passlib" "protobuf" "pyparsing" Loading pkgs/development/python-modules/passlib/default.nix +7 −51 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, argon2-cffi, bcrypt, cryptography, hatchling, pytestCheckHook, pytest-archon, pytest-xdist, typing-extensions, libpass, mkPythonMetaPackage, }: buildPythonPackage rec { mkPythonMetaPackage { pname = "passlib"; version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; tag = version; hash = "sha256-Q5OEQkty0/DugRvF5LA+PaDDlF/6ysx4Nel5K2kH5s4="; }; build-system = [ hatchling ]; dependencies = [ typing-extensions ]; optional-dependencies = { argon2 = [ argon2-cffi ]; bcrypt = [ bcrypt ]; totp = [ cryptography ]; }; nativeCheckInputs = [ pytestCheckHook pytest-archon pytest-xdist ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "passlib" ]; disabledTests = [ # timming sensitive "test_dummy_verify" "test_encrypt_cost_timing" ]; inherit (libpass) version; dependencies = [ libpass ]; optional-dependencies = libpass.optional-dependencies or { }; meta = { changelog = "https://github.com/ThirVondukr/passlib/blob/${src.tag}/CHANGELOG.md"; description = "Password hashing library for Python"; homepage = "https://github.com/ThirVondukr/passlib"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dotlambda ]; inherit (libpass.meta) changelog description homepage; }; } pkgs/servers/mail/mailman/package.nix +0 −5 Original line number Diff line number Diff line Loading @@ -26,11 +26,6 @@ buildPythonPackage rec { setuptools ]; pythonRemoveDeps = [ # distinfo renamed to libpass "passlib" ]; dependencies = with python3.pkgs; [ aiosmtpd alembic Loading Loading
pkgs/development/python-modules/bundlewrap/default.nix +0 −6 Original line number Diff line number Diff line Loading @@ -31,12 +31,6 @@ buildPythonPackage rec { }; build-system = [ setuptools ]; pythonRemoveDeps = [ # distinfo renamed to libpass, but still imports as passlib "passlib" ]; dependencies = [ setuptools cryptography Loading
pkgs/development/python-modules/libpass/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { argon2-cffi, bcrypt, buildPythonPackage, cryptography, fetchFromGitHub, hatchling, lib, pytest-archon, pytest-xdist, pytestCheckHook, typing-extensions, }: buildPythonPackage rec { pname = "libpass"; version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; tag = version; hash = "sha256-Q5OEQkty0/DugRvF5LA+PaDDlF/6ysx4Nel5K2kH5s4="; }; build-system = [ hatchling ]; dependencies = [ typing-extensions ]; optional-dependencies = { argon2 = [ argon2-cffi ]; bcrypt = [ bcrypt ]; totp = [ cryptography ]; }; nativeCheckInputs = [ pytest-archon pytest-xdist pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "passlib" ]; disabledTests = [ # timming sensitive "test_dummy_verify" "test_encrypt_cost_timing" ]; meta = { changelog = "https://github.com/ThirVondukr/passlib/blob/${src.tag}/CHANGELOG.md"; description = "Comprehensive password hashing framework supporting over 30 schemes"; homepage = "https://github.com/ThirVondukr/passlib"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/development/python-modules/mitmproxy/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ buildPythonPackage rec { }; pythonRelaxDeps = [ "h2" "passlib" "protobuf" "pyparsing" Loading
pkgs/development/python-modules/passlib/default.nix +7 −51 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, argon2-cffi, bcrypt, cryptography, hatchling, pytestCheckHook, pytest-archon, pytest-xdist, typing-extensions, libpass, mkPythonMetaPackage, }: buildPythonPackage rec { mkPythonMetaPackage { pname = "passlib"; version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "ThirVondukr"; repo = "passlib"; tag = version; hash = "sha256-Q5OEQkty0/DugRvF5LA+PaDDlF/6ysx4Nel5K2kH5s4="; }; build-system = [ hatchling ]; dependencies = [ typing-extensions ]; optional-dependencies = { argon2 = [ argon2-cffi ]; bcrypt = [ bcrypt ]; totp = [ cryptography ]; }; nativeCheckInputs = [ pytestCheckHook pytest-archon pytest-xdist ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "passlib" ]; disabledTests = [ # timming sensitive "test_dummy_verify" "test_encrypt_cost_timing" ]; inherit (libpass) version; dependencies = [ libpass ]; optional-dependencies = libpass.optional-dependencies or { }; meta = { changelog = "https://github.com/ThirVondukr/passlib/blob/${src.tag}/CHANGELOG.md"; description = "Password hashing library for Python"; homepage = "https://github.com/ThirVondukr/passlib"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ dotlambda ]; inherit (libpass.meta) changelog description homepage; }; }
pkgs/servers/mail/mailman/package.nix +0 −5 Original line number Diff line number Diff line Loading @@ -26,11 +26,6 @@ buildPythonPackage rec { setuptools ]; pythonRemoveDeps = [ # distinfo renamed to libpass "passlib" ]; dependencies = with python3.pkgs; [ aiosmtpd alembic Loading