1{ stdenv, fetchPypi, buildPythonPackage,
2 mock, django, redis, msgpack }:
3buildPythonPackage rec {
4 pname = "django-redis";
5 version = "4.12.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "306589c7021e6468b2656edc89f62b8ba67e8d5a1c8877e2688042263daa7a63";
10 };
11
12 doCheck = false;
13
14 buildInputs = [ mock ];
15
16 propagatedBuildInputs = [
17 django
18 redis
19 msgpack
20 ];
21
22 meta = with stdenv.lib; {
23 description = "Full featured redis cache backend for Django";
24 homepage = "https://github.com/niwibe/django-redis";
25 license = licenses.bsd3;
26 };
27}