44 lines
887 B
Nix
44 lines
887 B
Nix
{
|
|
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; [ ];
|
|
};
|
|
}
|