guix-commits
[Top][All Lists]
Advanced

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

08/17: gnu: Add emacs-simple-httpd.


From: Ricardo Wurmus
Subject: 08/17: gnu: Add emacs-simple-httpd.
Date: Sun, 17 Jul 2016 09:04:58 +0000 (UTC)

rekado pushed a commit to branch master
in repository guix.

commit 1f8a951bf42d10615da66b03b43fa74f1e78d67d
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jul 6 11:56:03 2016 +0200

    gnu: Add emacs-simple-httpd.
    
    * gnu/packages/emacs.scm (emacs-simple-httpd): New variable.
---
 gnu/packages/emacs.scm |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 50f077f..a251253 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1438,6 +1438,27 @@ subconsciously blend out the parentheses.")
 as horizontal rules.")
     (license license:gpl3+)))
 
+(define-public emacs-simple-httpd
+  (package
+    (name "emacs-simple-httpd")
+    (version "1.4.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/skeeto/emacs-web-server/";
+                           "archive/" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/skeeto/emacs-http-server";)
+    (synopsis "HTTP server in pure Emacs Lisp")
+    (description
+     "This package provides a simple HTTP server written in Emacs Lisp to
+serve files and directory listings.")
+    (license license:unlicense)))
+
 (define-public emacs-ob-ipython
   (package
     (name "emacs-ob-ipython")



reply via email to

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