9 , google-cloud-translate
17 buildPythonPackage rec {
18 pname = "wagtail-localize";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-Q29Nh/4Z3tYuwoodWKDl5FS+lfl9yDXN7RHn/RReCds=";
35 propagatedBuildInputs = [
46 google-cloud-translate
49 passthru.optional-dependencies = {
51 google-cloud-translate
56 # test_translate_html fails with later Beautifulsoup releases
57 rm wagtail_localize/machine_translators/tests/test_dummy_translator.py
58 ${python.interpreter} testmanage.py test
62 description = "Translation plugin for Wagtail CMS";
63 homepage = "https://github.com/wagtail/wagtail-localize";
64 changelog = "https://github.com/wagtail/wagtail-localize/blob/v${version}/CHANGELOG.md";
65 license = licenses.bsd3;
66 maintainers = with maintainers; [ sephi ];