@@ -1,5 +1,6 @@
1−{ lib, buildPythonPackage, fetchPypi,
2− celery, django, psycopg2
1+{ lib, buildPythonPackage, fetchPypi
2+, glibcLocales
3+, celery, django, psycopg2
34}:
45
56buildPythonPackage rec {
@@ -7,7 +8,7 @@ buildPythonPackage rec {
78 version = "1.1.0";
89
910 meta = {
10− description = "Simple, powerfull and nonobstructive django email middleware.";
11+ description = "Simple, powerfull and nonobstructive django email middleware";
1112 homepage = https://github.com/bameda/djmail;
1213 license = lib.licenses.bsd3;
1314 };
@@ -17,6 +18,10 @@ buildPythonPackage rec {
1718 sha256 = "87d2a8b4bdf67ae9b312e127ccc873a53116cf297ec786460d782ce82eaa76b5";
1819 };
1920
21+ nativeBuildInputs = [ glibcLocales ];
22+
23+ LC_ALL = "en_US.UTF-8";
24+
2025 propagatedBuildInputs = [ celery django psycopg2 ];
2126
2227 # 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.