diff options
author | betaboon <betaboon@0x80.ninja> | 2017-08-31 21:09:29 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-09-07 09:28:02 +0200 |
commit | c7031704f53c68e2f4b4afeb3cd6eb373a7949d0 (patch) | |
tree | 4857e073ae8ee1183cea6527559b1e1e8bc56f4c /pkgs/development/python-modules/django-ipware | |
parent | 3909871991bb346fe659846a077d779b1be6b2f1 (diff) |
pythonPackages.django-ipware: init at 1.1.6
Diffstat (limited to 'pkgs/development/python-modules/django-ipware')
-rw-r--r-- | pkgs/development/python-modules/django-ipware/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/django-ipware/default.nix b/pkgs/development/python-modules/django-ipware/default.nix new file mode 100644 index 0000000000000..c4d993ac03ba0 --- /dev/null +++ b/pkgs/development/python-modules/django-ipware/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, django }: + +buildPythonPackage rec { + pname = "django-ipware"; + name = "${pname}-${version}"; + version = "1.1.6"; + + 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 = "00zah4g2h93nbsijz556j97v9qkn9sxcia1a2wrwdwnav2fhzack"; + }; + + 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; +} |