From 47a2622bf24aa01420c6975ba38a1d9203757b05 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 22 Oct 2024 00:54:23 +0200 Subject: [PATCH] python312Packages.django-two-factor-auth: relax qrcode constraint and some light modernization. --- .../python-modules/django-two-factor-auth/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/django-two-factor-auth/default.nix b/pkgs/development/python-modules/django-two-factor-auth/default.nix index 1a35580d19e5..91c78393be57 100644 --- a/pkgs/development/python-modules/django-two-factor-auth/default.nix +++ b/pkgs/development/python-modules/django-two-factor-auth/default.nix @@ -29,13 +29,14 @@ buildPythonPackage rec { hash = "sha256-Sr7L3ioeofyADHb1NSgs0GmVbzX7rro7yhhG9Gq6GJE="; }; - nativeBuildInputs = [ - setuptools-scm + build-system = [ setuptools-scm ]; + + pythonRelaxDeps = [ + "django-phonenumber-field" + "qrcode" ]; - pythonRelaxDeps = [ "django-phonenumber-field" ]; - - propagatedBuildInputs = [ + dependencies = [ django django-formtools django-otp