2024-06-05 15:53:02 +00:00
{
lib ,
buildPythonPackage ,
fetchPypi ,
glibcLocales ,
celery ,
django ,
psycopg2 ,
2020-04-24 23:36:52 +00:00
} :
buildPythonPackage rec {
pname = " d j m a i l " ;
2020-06-15 15:56:04 +00:00
version = " 2 . 0 . 0 " ;
2024-01-02 11:29:13 +00:00
format = " s e t u p t o o l s " ;
2020-04-24 23:36:52 +00:00
meta = {
description = " S i m p l e , p o w e r f u l l a n d n o n o b s t r u c t i v e d j a n g o e m a i l m i d d l e w a r e " ;
homepage = " h t t p s : / / g i t h u b . c o m / b a m e d a / d j m a i l " ;
license = lib . licenses . bsd3 ;
} ;
src = fetchPypi {
inherit pname version ;
2020-06-15 15:56:04 +00:00
sha256 = " c f 3 c e 7 6 2 6 3 0 5 d 2 1 8 a 8 b f 2 b 6 a 2 1 9 2 6 6 e f 8 0 6 1 a c e e e f c 1 c 7 0 a 5 4 1 7 0 f 4 1 0 5 4 6 5 2 0 2 " ;
2020-04-24 23:36:52 +00:00
} ;
nativeBuildInputs = [ glibcLocales ] ;
LC_ALL = " e n _ U S . U T F - 8 " ;
2024-06-05 15:53:02 +00:00
propagatedBuildInputs = [
celery
django
psycopg2
] ;
2020-04-24 23:36:52 +00:00
# django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
doCheck = false ;
}