13 buildPythonPackage rec {
14 pname = "django-anymail";
17 src = fetchFromGitHub {
21 sha256 = "0zd4w707az36pp8wimlz6sfxwy9w190qp93brl78pva3rhnx5p97";
24 propagatedBuildInputs = [
31 checkInputs = [ mock ];
33 substituteInPlace setup.py --replace "tests_require=[" "tests_require=[], #"
34 export CONTINUOUS_INTEGRATION=1
35 export ANYMAIL_SKIP_TESTS="sparkpost"
36 ${python.interpreter} setup.py test
39 # this package allows multiple email backends
40 # sparkpost is missing because it's not packaged yet
42 description = "Django email backends and webhooks for Mailgun";
43 homepage = "https://github.com/anymail/django-anymail";
44 license = licenses.bsd3;
45 maintainers = with maintainers; [ ivegotasthma ];