python3Packages.django-otp-webauthn: init at 0.3.0

This commit is contained in:
Kerstin Humm 2024-08-15 13:54:16 +02:00 committed by Valentin Gagarin
parent 960cd9850b
commit 59e82ebc7d
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{
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 ];
};
}

View File

@ -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 { };