Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, django, funcy, redis, redisTestHook, six, pytestCheckHook, pytest-django, mock, dill, jinja2, before-after, net-tools, pkgs, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "django-cacheops"; version = "7.2"; pyproject = true;
src = fetchFromGitHub { owner = "Suor"; repo = "django-cacheops"; tag = finalAttrs.version; hash = "sha256-o0QPBfoYZzBPMjDQt8ck2Tkx3qInyfnN88buire0yc4="; };
patches = [ # Fixes failure with python3.14 pickle changes # https://github.com/Suor/django-cacheops/pull/511 ./Support-Python-3.14-pickle-changes.patch ];
pythonRelaxDeps = [ "funcy" ];
build-system = [ setuptools ];
dependencies = [ django funcy redis six ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [ pytestCheckHook pytest-django mock dill jinja2 before-after net-tools pkgs.valkey redisTestHook ];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
meta = { description = "Slick ORM cache with automatic granular event-driven invalidation for Django"; homepage = "https://github.com/Suor/django-cacheops"; changelog = "https://github.com/Suor/django-cacheops/blob/${finalAttrs.version}/CHANGELOG"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ onny ]; };})