gnu: Add python-livereload.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 29 Apr 2020 11:40:54 +0000 (13:40 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 29 Apr 2020 11:46:07 +0000 (13:46 +0200)
* gnu/packages/python-web.scm (python-livereload): New variable.

gnu/packages/python-web.scm

index c0be3fa..0dba566 100644 (file)
@@ -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)))