Merge pull request #135338 from r-ryantm/auto-update/python3.8-django-ipware

python38Packages.django-ipware: 3.0.7 -> 4.0.0
This commit is contained in:
Sandro 2021-08-26 18:55:56 +02:00 committed by GitHub
commit 745a48349f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,21 +2,25 @@
buildPythonPackage rec {
pname = "django-ipware";
version = "3.0.7";
meta = {
description = "A Django application to retrieve user's IP address";
homepage = "https://github.com/un33k/django-ipware";
license = lib.licenses.mit;
};
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "753f8214a16ccaac54ea977349a96e37b582a28a54065e00c1c46d530862c85e";
sha256 = "1294f916f3b3475e40e1b0ec1bd320aa2397978eae672721c81cbc2ed517e9ee";
};
propagatedBuildInputs = [ django ];
# 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.
doCheck = false;
# pythonImportsCheck fails with:
# 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.
meta = with lib; {
description = "A Django application to retrieve user's IP address";
homepage = "https://github.com/un33k/django-ipware";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}