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 " ;
2018-06-12 17:47:00 +01:00
version = " 1 . 1 . 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 " ;
2017-08-31 20:27:20 +01:00
homepage = https://github.com/bameda/djmail ;
license = lib . licenses . bsd3 ;
} ;
src = fetchPypi {
inherit pname version ;
2018-06-12 17:47:00 +01:00
sha256 = " 8 7 d 2 a 8 b 4 b d f 6 7 a e 9 b 3 1 2 e 1 2 7 c c c 8 7 3 a 5 3 1 1 6 c f 2 9 7 e c 7 8 6 4 6 0 d 7 8 2 c e 8 2 e a a 7 6 b 5 " ;
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 ;
}