1{ buildPythonPackage
2, fetchPypi
3, lib
4, django
5, funcy
6, redis
7, six
8}:
9
10buildPythonPackage rec {
11 pname = "django-cacheops";
12 version = "6.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "78e161ebd96a32e28e19ec7da31f2afed9e62a79726b8b5f0ed12dd16c2e5841";
17 };
18
19 propagatedBuildInputs = [
20 django
21 funcy
22 redis
23 six
24 ];
25
26 # tests need a redis server
27 # pythonImportsCheck not possible since DJANGO_SETTINGS_MODULE needs to be set
28 doCheck = false;
29
30 meta = with lib; {
31 description = "A slick ORM cache with automatic granular event-driven invalidation for Django";
32 homepage = "https://github.com/Suor/django-cacheops";
33 license = licenses.bsd3;
34 maintainers = with maintainers; [ petabyteboy ];
35 };
36}