feat(python): wagtail-modeltranslation

This commit is contained in:
catvayor 2024-12-10 15:30:41 +01:00
parent 4f9c41e352
commit 6b600b716f
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -0,0 +1,43 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
django,
django-modeltranslation,
wagtail,
}:
buildPythonPackage rec {
pname = "wagtail-modeltranslation";
version = "0.15.1";
pyproject = true;
src = fetchFromGitHub {
owner = "infoportugal";
repo = "wagtail-modeltranslation";
rev = "v${version}";
hash = "sha256-5Sc98z4/H/dhvVQUwefk+EQ1UbQHVmED3wx4ma11L5w=";
};
build-system = [
poetry-core
];
dependencies = [
django
django-modeltranslation
wagtail
];
pythonImportsCheck = [
"wagtail_modeltranslation"
];
meta = {
description = "Simple app to patch modeltranslation (https://github.com/deschler/django-modeltranslation) into Wagtail CMS";
homepage = "https://github.com/infoportugal/wagtail-modeltranslation.git";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ ];
};
}