guix-commits
[Top][All Lists]
Advanced

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

34/46: gnu: Add python-django-classy-tags.


From: guix-commits
Subject: 34/46: gnu: Add python-django-classy-tags.
Date: Tue, 21 Jul 2020 08:49:45 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 04eba1d046aa058ef7a64b8b70caf6da13176667
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 12:33:55 2020 +0300

    gnu: Add python-django-classy-tags.
    
    * gnu/packages/django.scm (python-django-classy-tags): New variable.
---
 gnu/packages/django.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index bb1f6a1..69fedf7 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -192,6 +192,31 @@ with arguments to the field constructor.")
 (define-public python2-django-simple-math-captcha
   (package-with-python2 python-django-simple-math-captcha))
 
+(define-public python-django-classy-tags
+  (package
+    (name "python-django-classy-tags")
+    (version "1.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "django-classy-tags" version))
+        (sha256
+         (base32
+          "1cayqddvxd5prhybqi77lif2z4j7mmfmxgc61pq9i82q5gy2asmd"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f)) ; Test script not distributed with release.
+    (propagated-inputs
+     `(("python-django" ,python-django)
+       ("python-six" ,python-six)))
+    (home-page "https://github.com/divio/django-classy-tags";)
+    (synopsis "Class based template tags for Django")
+    (description
+     "@code{django-classy-tags} is an approach at making writing template tags
+in Django easier, shorter and more fun.  It provides an extensible argument
+parser which reduces most of the boiler plate code you usually have to write
+when coding custom template tags.")
+    (license license:bsd-3)))
+
 (define-public python-django-taggit
   (package
     (name "python-django-taggit")



reply via email to

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