10 buildPythonPackage rec {
11 pname = "django-ipware";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-2exD0r983yFv7Y1JSghN61dhpUhgpTsudDRqTzhM/0c=";
22 propagatedBuildInputs = [
27 # 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.
30 # pythonImportsCheck fails with:
31 # 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.
34 description = "Django application to retrieve user's IP address";
35 homepage = "https://github.com/un33k/django-ipware";
36 changelog = "https://github.com/un33k/django-ipware/blob/v${version}/CHANGELOG.md";
37 license = licenses.mit;