summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-08-09 19:13:32 +0200
committerGuix Patches Tester <>2022-08-09 18:22:43 +0100
commitb6aa3e2d278529250041a21ec8d3cf5172ff436e (patch)
treecca007d009ab669f8a29fc10b7f559130c797743
parent9361c507bbef798be749585c240bad767bc40598 (diff)
downloadguix-patches-b6aa3e2d278529250041a21ec8d3cf5172ff436e.tar
guix-patches-b6aa3e2d278529250041a21ec8d3cf5172ff436e.tar.gz
gnu: Add python-wagtail-localize.
* gnu/packages/django.scm (python-wagtail-localize): New variable.
-rw-r--r--gnu/packages/django.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 934aa8e95a..cd88e1fac3 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1584,3 +1584,33 @@ between Python and JavaScript.")
(description "This package provides a Content Management System based on
Django.")
(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 "Translating for Wagtail Content Management System (CMS)")
+ (description "This package provides a translation plugin for Wagtail CMS.")
+ (license license:bsd-3)))