pythonPackages.django_redis: 4.2.0 -> 4.5.0
This commit is contained in:
28
pkgs/development/python-modules/django_redis/default.nix
Normal file
28
pkgs/development/python-modules/django_redis/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user