38 lines
761 B
Nix
38 lines
761 B
Nix
|
{ lib
|
||
|
, fetchPypi
|
||
|
, buildPythonPackage
|
||
|
, django_classytags
|
||
|
, pytestCheckHook
|
||
|
, pytest-django
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "django-sekizai";
|
||
|
version = "4.1.0";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "sha256-Kso2y64LXAzv7ZVlQW7EQjNXZ/sxRb/xHlhiL8ZTza0=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
django_classytags
|
||
|
];
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|