guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55474] [PATCH 18/18] gnu: Add python-wagtail-localize.


From: Nicolas Graves
Subject: [bug#55474] [PATCH 18/18] gnu: Add python-wagtail-localize.
Date: Tue, 17 May 2022 09:54:48 +0200

* gnu/packages/django.scm (python-wagtail-localize): New variable.
---
 gnu/packages/django.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 63626940cd..abfce310c2 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -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)))
-- 
2.36.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]