Something went wrong. Try again.
lol
Something went wrong. Try again.
978 B · 50 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, django, django-appconf, celery, pytest-django, pytestCheckHook, python,}:
buildPythonPackage rec { pname = "django-celery-email"; version = "3.0.0"; format = "setuptools";
src = fetchFromGitHub { owner = "pmclanahan"; repo = "django-celery-email"; rev = version; hash = "sha256-LBavz5Nh2ObmIwLCem8nHvsuKgPwkzbS/OzFPmSje/M="; };
propagatedBuildInputs = [ django django-appconf celery ];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [ pytest-django pytestCheckHook ];
checkPhase = '' ${python.executable} runtests.py '';
pythonImportsCheck = [ "djcelery_email" ];
meta = { homepage = "https://github.com/pmclanahan/django-celery-email"; description = "Django email backend that uses a celery task for sending the email"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ onny ]; };}