2017-09-28 13:00:49 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage,
|
|
|
|
mock, django, redis, msgpack }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-redis";
|
2019-01-02 14:55:02 +00:00
|
|
|
version = "4.10.0";
|
2017-09-28 13:00:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-02 14:55:02 +00:00
|
|
|
sha256 = "1rxcwnv9ik0swkwvfqdi9i9baw6n8if5pj6q63fjh4p9chw3j2xg";
|
2017-09-28 13:00:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
django
|
|
|
|
redis
|
|
|
|
msgpack
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Full featured redis cache backend for Django";
|
|
|
|
homepage = https://github.com/niwibe/django-redis;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|