2021-08-27 14:25:00 +00:00
{ lib
, fetchPypi
, buildPythonPackage
, mock
, django
, redis
, msgpack
} :
2020-04-24 23:36:52 +00:00
buildPythonPackage rec {
pname = " d j a n g o - r e d i s " ;
2021-08-27 14:25:00 +00:00
version = " 5 . 0 . 0 " ;
2020-04-24 23:36:52 +00:00
src = fetchPypi {
inherit pname version ;
2021-08-27 14:25:00 +00:00
sha256 = " 0 4 8 f 6 6 5 b b e 2 7 f 8 f f 2 e d e b a e 6 a a 9 c 5 3 4 a b 1 3 7 f 1 e 8 f a 7 2 3 4 1 4 7 e f 4 7 0 d f 3 f 3 a a 9 b 8 " ;
2020-04-24 23:36:52 +00:00
} ;
propagatedBuildInputs = [
django
redis
msgpack
] ;
2021-08-27 14:25:00 +00:00
# django.core.exceptions.ImproperlyConfigured: Requested setting DJANGO_REDIS_SCAN_ITERSIZE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
doCheck = false ;
pythonImportsCheck = [ " d j a n g o _ r e d i s " ] ;
2021-01-15 22:18:51 +00:00
meta = with lib ; {
2020-04-24 23:36:52 +00:00
description = " F u l l f e a t u r e d r e d i s c a c h e b a c k e n d f o r D j a n g o " ;
homepage = " h t t p s : / / g i t h u b . c o m / n i w i b e / d j a n g o - r e d i s " ;
license = licenses . bsd3 ;
2021-08-27 14:25:00 +00:00
maintainers = with maintainers ; [ ] ;
2020-04-24 23:36:52 +00:00
} ;
}