mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
29 lines
601 B
Nix
29 lines
601 B
Nix
{ stdenv, fetchPypi, buildPythonPackage,
|
|
mock, django, redis, msgpack }:
|
|
buildPythonPackage rec {
|
|
pname = "django-redis";
|
|
version = "4.5.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "170dbk1wmdg0mxp5m3376zz54dyxmhmhnswrccf0jnny1wqcgpsp";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|