Commit 59e82ebc authored by Kerstin Humm's avatar Kerstin Humm Committed by Valentin Gagarin
Browse files

python3Packages.django-otp-webauthn: init at 0.3.0

parent 960cd985
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  django,
  django-otp,
  djangorestframework,
  webauthn,
}:

buildPythonPackage rec {
  pname = "django-otp-webauthn";
  version = "0.3.0";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "django_otp_webauthn";
    sha256 = "sha256-+Y46/PDeXL9zayoZykaU63faQmnLHzYPmqJJeRBx+hs=";
  };

  build-system = [ hatchling ];

  dependencies = [
    django
    django-otp
    djangorestframework
    webauthn
  ];

  # Tests are on the roadmap, but not yet implemented

  pythonImportsCheck = [ "django_otp_webauthn" ];

  meta = with lib; {
    description = "Passkey support for Django";
    homepage = "https://github.com/Stormbase/django-otp-webauthn";
    changelog = "https://github.com/Stormbase/django-otp-webauthn/blob/main/CHANGELOG.md";
    license = licenses.bsd3;
    maintainers = with maintainers; [ erictapen ];
  };

}
+2 −0
Original line number Diff line number Diff line
@@ -3395,6 +3395,8 @@ self: super: with self; {
  django-otp = callPackage ../development/python-modules/django-otp { };
  django-otp-webauthn = callPackage ../development/python-modules/django-otp-webauthn { };
  django-paintstore = callPackage ../development/python-modules/django-paintstore { };
  django-parler = callPackage ../development/python-modules/django-parler { };