depot/third_party/nixpkgs/pkgs/development/python-modules/django-ipware/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

22 lines
749 B
Nix

{ lib, buildPythonPackage, fetchPypi, django }:
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;
};
src = fetchPypi {
inherit pname version;
sha256 = "753f8214a16ccaac54ea977349a96e37b582a28a54065e00c1c46d530862c85e";
};
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;
}