feat(python): wagtailmenus
This commit is contained in:
parent
1bc56d06d3
commit
e7d5e9d5fc
1 changed files with 44 additions and 0 deletions
44
python-pkgs/wagtailmenus.nix
Normal file
44
python-pkgs/wagtailmenus.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue