feat(python): wagtailmenus

This commit is contained in:
catvayor 2024-12-10 15:01:57 +01:00
parent 1bc56d06d3
commit e7d5e9d5fc
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
wagtail,
django-cogwheels,
}:
buildPythonPackage rec {
pname = "wagtailmenus";
version = "4.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
repo = "wagtailmenus";
rev = "v${version}";
hash = "sha256-aBrrhu2VGGyJB4h+ecFSEtpfHc01XlR4qC66XJw6+wM=";
};
build-system = [
setuptools
wheel
];
dependencies = [
wagtail
django-cogwheels
];
pythonImportsCheck = [
"wagtailmenus"
];
meta = {
description = "An app to help you manage and render menus in your Wagtail projects more effectively";
homepage = "https://github.com/jazzband/wagtailmenus.git";
changelog = "https://github.com/jazzband/wagtailmenus/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}