about summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-sekizai/default.nix
blob: 5727b5ac9990d9e3a075aad2791b371f715b114c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  fetchPypi,
  buildPythonPackage,
  django-classy-tags,
  pytestCheckHook,
  pytest-django,
}:

buildPythonPackage rec {
  pname = "django-sekizai";
  version = "4.1.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Kso2y64LXAzv7ZVlQW7EQjNXZ/sxRb/xHlhiL8ZTza0=";
  };

  propagatedBuildInputs = [ django-classy-tags ];

  checkInputs = [
    pytestCheckHook
    pytest-django
  ];

  pythonImportsCheck = [ "sekizai" ];

  DJANGO_SETTINGS_MODULE = "tests.settings";

  meta = with lib; {
    description = "Define placeholders where your blocks get rendered and append to those blocks";
    homepage = "https://github.com/django-cms/django-sekizai";
    license = licenses.bsd3;
    maintainers = with maintainers; [ onny ];
  };
}