python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / django-celery-email / default.nix
blobea7608ffca476c8c5cad84d327d63ecf2ecb5ddf
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   django,
6   django-appconf,
7   celery,
8   pytest-django,
9   pytestCheckHook,
10   python,
13 buildPythonPackage rec {
14   pname = "django-celery-email";
15   version = "3.0.0";
16   format = "setuptools";
18   src = fetchFromGitHub {
19     owner = "pmclanahan";
20     repo = pname;
21     rev = version;
22     hash = "sha256-LBavz5Nh2ObmIwLCem8nHvsuKgPwkzbS/OzFPmSje/M=";
23   };
25   propagatedBuildInputs = [
26     django
27     django-appconf
28     celery
29   ];
31   DJANGO_SETTINGS_MODULE = "tests.settings";
33   nativeCheckInputs = [
34     pytest-django
35     pytestCheckHook
36   ];
38   checkPhase = ''
39     ${python.executable} runtests.py
40   '';
42   pythonImportsCheck = [ "djcelery_email" ];
44   meta = with lib; {
45     homepage = "https://github.com/pmclanahan/django-celery-email";
46     description = "Django email backend that uses a celery task for sending the email";
47     license = licenses.bsd3;
48     maintainers = with maintainers; [ onny ];
49   };