Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 801 B view raw
1{ lib, buildPythonPackage, fetchPypi, 2 celery, django, psycopg2 3}: 4 5buildPythonPackage rec { 6 pname = "djmail"; 7 name = "${pname}-${version}"; 8 version = "1.0.1"; 9 10 meta = { 11 description = "Simple, powerfull and nonobstructive django email middleware."; 12 homepage = https://github.com/bameda/djmail; 13 license = lib.licenses.bsd3; 14 }; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "1827i9qcn1ki09i5pg0lmar7cxjv18avh76x1n20947p1cimf3rp"; 19 }; 20 21 propagatedBuildInputs = [ celery django psycopg2 ]; 22 23 # 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. 24 doCheck = false; 25}