8 buildPythonPackage rec {
9 pname = "django-ipware";
11 format = "setuptools";
13 disabled = pythonOlder "3.7";
16 inherit pname version;
17 hash = "sha256-qzq3ZF5nTfaCwRRqW936UVGxt7576SEIcsMVa9g2qtQ=";
20 propagatedBuildInputs = [ django ];
22 # django.core.exceptions.ImproperlyConfigured: Requested setting IPWARE_TRUSTED_PROXY_LIST, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
25 # pythonImportsCheck fails with:
26 # django.core.exceptions.ImproperlyConfigured: Requested setting IPWARE_META_PRECEDENCE_ORDER, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
29 description = "A Django application to retrieve user's IP address";
30 homepage = "https://github.com/un33k/django-ipware";
31 changelog = "https://github.com/un33k/django-ipware/blob/v${version}/CHANGELOG.md";
32 license = licenses.mit;
33 maintainers = with maintainers; [ ];