feat(python): wagtail-modeltranslation
This commit is contained in:
parent
4f9c41e352
commit
6b600b716f
1 changed files with 43 additions and 0 deletions
43
python-pkgs/wagtail-modeltranslation.nix
Normal file
43
python-pkgs/wagtail-modeltranslation.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue