21 pname = "django-redis";
25 inherit pname version;
26 format = "setuptools";
27 disabled = pythonOlder "3.6";
29 src = fetchFromGitHub {
31 repo = "django-redis";
33 sha256 = "sha256-e8wCgfxBT+WKFY4H83CTMirTpQym3QAoeWnXbRCDO90=";
37 sed -i '/-cov/d' setup.cfg
40 propagatedBuildInputs = [
48 pythonImportsCheck = [
52 DJANGO_SETTINGS_MODULE = "tests.settings.sqlite";
55 ${pkgs.redis}/bin/redis-server &
70 # ModuleNotFoundError: No module named 'test_cache_options'
71 "test_custom_key_function"
72 # ModuleNotFoundError: No module named 'test_client'
73 "test_delete_pattern_calls_get_client_given_no_client"
74 "test_delete_pattern_calls_make_pattern"
75 "test_delete_pattern_calls_scan_iter_with_count_if_itersize_given"
76 "test_delete_pattern_calls_scan_iter_with_count_if_itersize_given"
77 "test_delete_pattern_calls_scan_iter"
78 "test_delete_pattern_calls_delete_for_given_keys"
82 description = "Full featured redis cache backend for Django";
83 homepage = "https://github.com/jazzband/django-redis";
84 license = licenses.bsd3;
85 maintainers = with maintainers; [ hexa ];