2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage,
|
2017-09-28 13:00:49 +01:00
|
|
|
mock, django, redis, msgpack }:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "django-redis";
|
2020-06-06 07:47:05 +01:00
|
|
|
version = "4.12.1";
|
2017-09-28 13:00:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:05 +01:00
|
|
|
sha256 = "306589c7021e6468b2656edc89f62b8ba67e8d5a1c8877e2688042263daa7a63";
|
2017-09-28 13:00:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
django
|
|
|
|
redis
|
|
|
|
msgpack
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-09-28 13:00:49 +01:00
|
|
|
description = "Full featured redis cache backend for Django";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/niwibe/django-redis";
|
2017-09-28 13:00:49 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|