Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 62 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchPypi, django, funcy, redis, pytest-django, pytestCheckHook, pythonOlder, six}:
buildPythonPackage rec { pname = "django-cacheops"; version = "6.2"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-zHP9ChwUeZJT/yCopFeRo8jSgCIXswHnDPoIroGeQ48="; };
propagatedBuildInputs = [ django funcy redis six ];
nativeCheckInputs = [ pytestCheckHook pytest-django ];
disabledTests = [ # Tests require networking "test_cached_as" "test_invalidation_signal" "test_queryset" "test_queryset_empty" "test_lock" "test_context_manager" "test_decorator" "test_in_transaction" "test_nested" "test_unhashable_args" "test_db_agnostic_by_default" "test_db_agnostic_disabled" ];
DJANGO_SETTINGS_MODULE = "tests.settings";
meta = with lib; { description = "A 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 ]; };}