@@ -1554,3 +1554,33 @@ (define-public python-wagtail
(synopsis "A Django content management system.")
(description "This package provides a Django content management system.")
(license license:bsd-3)))
+
+(define-public python-wagtail-localize
+ (package
+ (name "python-wagtail-localize")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wagtail/wagtail-localize")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "014vcjzm1akbjinzqksqi228ic97f4brl0qvhxlyr42p49nxgh0y"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (invoke "python" "testmanage.py")
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs (list python-django python-polib python-wagtail))
+ (native-inputs (list python-dj-database-url python-freezegun))
+ (home-page "https://www.wagtail-localize.org")
+ (synopsis "Translation plugin for Wagtail CMS")
+ (description "This package provides a translation plugin for Wagtail CMS.")
+ (license license:bsd-3)))