2021-08-26 18:09:41 +01:00
{ lib
, fetchPypi
, buildPythonPackage
, mock
, django
, redis
, msgpack
} :
2017-09-28 13:00:49 +01:00
buildPythonPackage rec {
pname = " d j a n g o - r e d i s " ;
2021-08-18 09:06:26 +01:00
version = " 5 . 0 . 0 " ;
2017-09-28 13:00:49 +01:00
src = fetchPypi {
inherit pname version ;
2021-08-18 09:06:26 +01: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 " ;
2017-09-28 13:00:49 +01:00
} ;
propagatedBuildInputs = [
django
redis
msgpack
] ;
2021-08-26 18:09:41 +01: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-11 07:54:33 +00:00
meta = with lib ; {
2017-09-28 13:00:49 +01: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 " ;
2020-04-01 02:11:51 +01:00
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 " ;
2017-09-28 13:00:49 +01:00
license = licenses . bsd3 ;
2021-08-26 18:09:41 +01:00
maintainers = with maintainers ; [ ] ;
2017-09-28 13:00:49 +01:00
} ;
}