Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
70 lines
1.2 KiB
Nix
70 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
django,
|
|
funcy,
|
|
redis,
|
|
redisTestHook,
|
|
six,
|
|
pytestCheckHook,
|
|
pytest-django,
|
|
mock,
|
|
dill,
|
|
jinja2,
|
|
before-after,
|
|
pythonOlder,
|
|
net-tools,
|
|
pkgs,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-cacheops";
|
|
version = "7.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "django_cacheops";
|
|
inherit version;
|
|
hash = "sha256-y8EcwDISlaNkTie8smlA8Iy5wucdPuUGy8/wvdoanzM=";
|
|
};
|
|
|
|
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
|
|
];
|
|
|
|
DJANGO_SETTINGS_MODULE = "tests.settings";
|
|
|
|
meta = with lib; {
|
|
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/${version}/CHANGELOG";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|