Loading pkgs/development/python-modules/django-two-factor-auth/default.nix +27 −6 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ , django-otp , django-phonenumber-field , fetchFromGitHub , phonenumbers , pydantic , pythonOlder , pythonRelaxDepsHook Loading Loading @@ -41,18 +42,38 @@ buildPythonPackage rec { django django-formtools django-otp # django-otp-yubikey #Addtional Pkgs not in nixpkgs yet django-phonenumber-field pydantic qrcode ]; passthru.optional-dependencies = { call = [ twilio ]; sms = [ twilio ]; webauthn = [ pydantic webauthn ]; # yubikey = [ # django-otp-yubikey # ]; phonenumbers = [ phonenumbers ]; # phonenumberslite = [ # phonenumberslite # ]; }; # require internet connection # Tests require internet connection doCheck = false; pythonImportsCheck = [ "two_factor" ]; pythonImportsCheck = [ "two_factor" ]; meta = with lib; { description = "Complete Two-Factor Authentication for Django"; Loading Loading
pkgs/development/python-modules/django-two-factor-auth/default.nix +27 −6 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ , django-otp , django-phonenumber-field , fetchFromGitHub , phonenumbers , pydantic , pythonOlder , pythonRelaxDepsHook Loading Loading @@ -41,18 +42,38 @@ buildPythonPackage rec { django django-formtools django-otp # django-otp-yubikey #Addtional Pkgs not in nixpkgs yet django-phonenumber-field pydantic qrcode ]; passthru.optional-dependencies = { call = [ twilio ]; sms = [ twilio ]; webauthn = [ pydantic webauthn ]; # yubikey = [ # django-otp-yubikey # ]; phonenumbers = [ phonenumbers ]; # phonenumberslite = [ # phonenumberslite # ]; }; # require internet connection # Tests require internet connection doCheck = false; pythonImportsCheck = [ "two_factor" ]; pythonImportsCheck = [ "two_factor" ]; meta = with lib; { description = "Complete Two-Factor Authentication for Django"; Loading