Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
917 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, hatchling, django, django-otp, djangorestframework, webauthn,}:
buildPythonPackage rec { pname = "django-otp-webauthn"; version = "0.6.0"; pyproject = true;
src = fetchPypi { inherit version; pname = "django_otp_webauthn"; hash = "sha256-Exyao6i63S7czGAcZMULrNcnxjRNw21ufNFaxj9kkFs="; };
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/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ erictapen ]; };
}