[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33185] [PATCH 1/7] gnu: Add python-jsmin.
From: |
Christopher Baines |
Subject: |
[bug#33185] [PATCH 1/7] gnu: Add python-jsmin. |
Date: |
Sun, 28 Oct 2018 09:26:56 +0000 |
* gnu/packages/python-web.scm (python-jsmin, python2-jsmin): New variables.
---
gnu/packages/python-web.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f8052458a..c00992c71 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2130,6 +2130,28 @@ It comes with safe defaults and easily configurable
options.")
(define-public python2-flask-htmlmin
(package-with-python2 python-flask-htmlmin))
+(define-public python-jsmin
+ (package
+ (name "python-jsmin")
+ (version "2.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "jsmin" version))
+ (sha256
+ (base32
+ "0fsmqbjvpxvff0984x7c0y8xmf49ax9mncz48b9xjx8wrnr9kpxn"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/tikitu/jsmin/")
+ (synopsis "Python JavaScript minifier")
+ (description
+ "@code{jsmin} is a JavaScript minifier, usable from both Python code and
+on the command line.")
+ (license license:expat)))
+
+(define-public python2-jsmin
+ (package-with-python2 python-jsmin))
+
(define-public python-flask-login
(package
(name "python-flask-login")
--
2.18.0
- [bug#33185] [PATCH 0/7] Add patchwork package and service., Christopher Baines, 2018/10/28
- [bug#33185] [PATCH 1/7] gnu: Add python-jsmin.,
Christopher Baines <=
- [bug#33185] [PATCH 4/7] gnu: Add python-django-jinja., Christopher Baines, 2018/10/28
- [bug#33185] [PATCH 5/7] gnu: Add python-django-debug-toolbar., Christopher Baines, 2018/10/28
- [bug#33185] [PATCH 2/7] gnu: Add python-slimit., Christopher Baines, 2018/10/28
- [bug#33185] [PATCH 3/7] gnu: Add python-django-pipeline., Christopher Baines, 2018/10/28
- [bug#33185] [PATCH 6/7] gnu: Add patchwork., Christopher Baines, 2018/10/28
- [bug#33185] [PATCH 7/7] services: Add patchwork., Christopher Baines, 2018/10/28