Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, django, hatchling, python-ipware, pytestCheckHook, pytest-django,}:
buildPythonPackage (finalAttrs: { pname = "django-ipware"; version = "8.0.0"; pyproject = true;
src = fetchFromGitHub { owner = "un33k"; repo = "django-ipware"; tag = "v${finalAttrs.version}"; hash = "sha256-T+9AUpxe7VrB6UzS9sWYaMtti6cz35S0nKJbYWLSF2c="; };
build-system = [ hatchling ];
dependencies = [ django python-ipware ];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [ pytestCheckHook pytest-django ];
pythonImportsCheck = [ "ipware" ];
meta = { description = "Django application to retrieve user's IP address"; homepage = "https://github.com/un33k/django-ipware"; changelog = "https://github.com/un33k/django-ipware/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; };})