{ lib, fetchFromGitHub, buildPythonPackage, setuptools-scm, django, django-ipware, pytestCheckHook, pytest-cov-stub, pytest-django, }: buildPythonPackage rec { pname = "django-axes"; version = "8.1.0"; pyproject = true; src = fetchFromGitHub { owner = "jazzband"; repo = "django-axes"; tag = version; hash = "sha256-yiXj0Wmn9AVKDilmGVTIE+MICmKeO76j2P6jtlt5CFY="; }; build-system = [ setuptools-scm ]; dependencies = [ django ]; nativeCheckInputs = [ django-ipware pytestCheckHook pytest-cov-stub pytest-django ]; env.DJANGO_SETTINGS_MODULE = "tests.settings"; pythonImportsCheck = [ "axes" ]; meta = { description = "Keep track of failed login attempts in Django-powered sites"; homepage = "https://github.com/jazzband/django-axes"; maintainers = with lib.maintainers; [ sikmir ]; license = lib.licenses.mit; }; }