Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 22 lines 749 B view raw
1{ lib, buildPythonPackage, fetchPypi, django }: 2 3buildPythonPackage rec { 4 pname = "django-ipware"; 5 version = "3.0.2"; 6 7 meta = { 8 description = "A Django application to retrieve user's IP address"; 9 homepage = "https://github.com/un33k/django-ipware"; 10 license = lib.licenses.mit; 11 }; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "c7df8e1410a8e5d6b1fbae58728402ea59950f043c3582e033e866f0f0cf5e94"; 16 }; 17 18 propagatedBuildInputs = [ django ]; 19 20 # 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. 21 doCheck = false; 22}