2018-07-14 12:44:57 +01:00
{ lib , buildPythonPackage , fetchPypi
, glibcLocales
, celery , django , psycopg2
2017-08-31 20:27:20 +01:00
} :
buildPythonPackage rec {
pname = " d j m a i l " ;
2020-06-06 07:47:05 +01:00
version = " 2 . 0 . 0 " ;
2017-08-31 20:27:20 +01:00
meta = {
2018-07-14 12:44:57 +01:00
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 " ;
2020-04-01 02:11:51 +01:00
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 " ;
2017-08-31 20:27:20 +01:00
license = lib . licenses . bsd3 ;
} ;
src = fetchPypi {
inherit pname version ;
2020-06-06 07:47:05 +01: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 " ;
2017-08-31 20:27:20 +01:00
} ;
2018-07-14 12:44:57 +01:00
nativeBuildInputs = [ glibcLocales ] ;
LC_ALL = " e n _ U S . U T F - 8 " ;
2017-08-31 20:27:20 +01:00
propagatedBuildInputs = [ celery django psycopg2 ] ;
# 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 ;
}