depot/third_party/nixpkgs/pkgs/development/python-modules/django-sekizai/default.nix

38 lines
761 B
Nix
Raw Normal View History

{ 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 ];
};
}