about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/django-sekizai/default.nix
blob: 0c28ee283a1d5842fad035e2520a684e275f1b6f (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";

  src = fetchPypi {
    inherit pname version;
    sha256 = "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 ];
  };
}