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