Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
914 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, fetchFromGitHub, buildPythonPackage, setuptools-scm, django, django-ipware, pytestCheckHook, pytest-cov-stub, pytest-django,}:
buildPythonPackage rec { pname = "django-axes"; version = "8.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "jazzband"; repo = "django-axes"; tag = version; hash = "sha256-RV2/s372+yjSqYAqikH0VOJKt7fRAej32sgdOoKR/Do="; };
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; };}