nixpkgs/pkgs/development/python-modules/django_redis/default.nix
2019-12-30 16:46:41 +01:00

28 lines
582 B
Nix

{ stdenv, fetchPypi, buildPythonPackage,
mock, django, redis, msgpack }:
buildPythonPackage rec {
pname = "django-redis";
version = "4.11.0";
src = fetchPypi {
inherit pname version;
sha256 = "a5b1e3ffd3198735e6c529d9bdf38ca3fcb3155515249b98dc4d966b8ddf9d2b";
};
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;
};
}