[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: gnu: Add python-livereload.
From: |
guix-commits |
Subject: |
03/05: gnu: Add python-livereload. |
Date: |
Wed, 29 Apr 2020 07:46:45 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d0e0b865e1e97679f718daf159e766c19bc09c91
Author: Ricardo Wurmus <address@hidden>
AuthorDate: Wed Apr 29 13:40:54 2020 +0200
gnu: Add python-livereload.
* gnu/packages/python-web.scm (python-livereload): New variable.
---
gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c0be3fa..0dba566 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3627,3 +3627,26 @@ without requiring a page refresh.")
management. It can find an unused TCP localhost port and remember the
association.")
(license license:expat)))
+
+(define-public python-livereload
+ (package
+ (name "python-livereload")
+ (version "2.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "livereload" version))
+ (sha256
+ (base32
+ "0rhggz185bxc3zjnfpmhcvibyzi86i624za1lfh7x7ajsxw4y9c9"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-tornado" ,python-tornado)))
+ (home-page "https://github.com/lepture/python-livereload")
+ (synopsis "Python LiveReload")
+ (description
+ "Python LiveReload provides a command line utility, @command{livereload},
+for starting a web server in a directory. It can trigger arbitrary commands
+and serve updated contents upon changes to the directory.")
+ (license license:bsd-3)))