diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/django-ipware/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/django-ipware/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/django-ipware/default.nix b/nixpkgs/pkgs/development/python-modules/django-ipware/default.nix new file mode 100644 index 000000000000..89147db63a88 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/django-ipware/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi, django }: + +buildPythonPackage rec { + pname = "django-ipware"; + version = "2.1.0"; + + meta = { + description = "A Django application to retrieve user's IP address"; + homepage = https://github.com/un33k/django-ipware; + license = lib.licenses.mit; + }; + + src = fetchPypi { + inherit pname version; + sha256 = "a7c7a8fd019dbdc9c357e6e582f65034e897572fc79a7e467674efa8aef9d00b"; + }; + + 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; +} |