nixpkgs/pkgs/development/python-modules/django-sekizai/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

39 lines
788 B
Nix

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