1{ stdenv, fetchPypi, buildPythonPackage,
2 mock, django, redis, msgpack }:
3buildPythonPackage rec {
4 pname = "django-redis";
5 version = "4.9.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "15b47faef6aefaa3f47135a2aeb67372da300e4a4cf06809c66ab392686a2155";
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}