unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28716] [PATCH] gnu: Add emacs-org2web and its dependents.
@ 2017-10-05 23:29 Feng Shu
  2017-10-09 19:39 ` bug#28716: " Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Shu @ 2017-10-05 23:29 UTC (permalink / raw)
  To: 28716

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-emacs-mustache.patch --]
[-- Type: text/x-patch, Size: 1788 bytes --]

From 1ed6dd1177be55b515d8c0fa1e0de09eddd932a5 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Wed, 4 Oct 2017 16:58:56 +0800
Subject: [PATCH 1/3] gnu: Add emacs-mustache.

* gnu/packages/emacs.scm (emacs-mustache): New variable.
---
 gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 13c6f00d0..73ccf1bdc 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4982,6 +4982,33 @@ containing words from the rime project.")
 and cangjie.")
     (license license:gpl2+)))
 
+(define-public emacs-mustache
+  (package
+    (name "emacs-mustache")
+    (version "0.23")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/Wilfred/mustache.el/archive/"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0k9lcgil7kykkv1ylrgwy1g13ldjjmgi2cwmysgyb2vlj3jbwpdj"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-ht" ,emacs-ht)
+       ("emacs-s" ,emacs-s)))
+    (home-page "https://github.com/Wilfred/mustache.el")
+    (synopsis "Mustache templating library for Emacs")
+    (description "Mustache templating library for Emacs, mustache is
+a simple web template system, which is described as a logic-less system
+because it lacks any explicit control flow statements, both looping and
+conditional evaluation can be achieved using section tags processing lists
+and lambdas.")
+    (license license:gpl3+)))
+
 (define-public emacs-xelb
   (package
     (name "emacs-xelb")
-- 
2.14.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-emacs-el2org.patch --]
[-- Type: text/x-patch, Size: 1486 bytes --]

From edc28b8e82cabef485864bb61c3b591f7c5b8afc Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Wed, 4 Oct 2017 17:28:32 +0800
Subject: [PATCH 2/3] gnu: Add emacs-el2org.

* gnu/packages/emacs.scm (emacs-el2org): New variable.
---
 gnu/packages/emacs.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 73ccf1bdc..0b2234bd0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4982,6 +4982,26 @@ containing words from the rime project.")
 and cangjie.")
     (license license:gpl2+)))
 
+(define-public emacs-el2org
+  (package
+    (name "emacs-el2org")
+    (version "0.6.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tumashu/el2org/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0gd3km1swwvg2w0kdi7370f54wgrflxn63gjgssfjc1iyc9sbqwq"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/tumashu/el2org")
+    (synopsis "Convert Emacs-lisp file to org file")
+    (description "El2org is a simple tool, which can convert Emacs-lisp file
+to org file, you can use this tool to write orgify commentary.")
+    (license license:gpl2+)))
+
 (define-public emacs-mustache
   (package
     (name "emacs-mustache")
-- 
2.14.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0003-gnu-Add-emacs-org2web.patch --]
[-- Type: text/x-patch, Size: 1730 bytes --]

From 4ff802813eecfc5489b66b22a2869c67436581dc Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Fri, 6 Oct 2017 07:22:08 +0800
Subject: [PATCH 3/3] gnu: Add emacs-org2web.

* gnu/packages/emacs.scm (emacs-org2web): New variable.
---
 gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0b2234bd0..0dc056eff 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5029,6 +5029,32 @@ conditional evaluation can be achieved using section tags processing lists
 and lambdas.")
     (license license:gpl3+)))
 
+(define-public emacs-org2web
+  (package
+    (name "emacs-org2web")
+    (version "0.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tumashu/org2web/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1c0ixcphlhp4c4qdiwq40bc3yp1gp1llp8pxrk4s7ny9n68s52zp"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-el2org" ,emacs-el2org)
+       ("emacs-ht" ,emacs-ht)
+       ("emacs-mustache" ,emacs-mustache)
+       ("emacs-simple-httpd" ,emacs-simple-httpd)))
+    (home-page "https://github.com/tumashu/org2web")
+    (synopsis "Static site generator based on org-mode ")
+    (description "Org2web is a static site generator based on org-mode,
+which code derived from Kelvin H's org-page.")
+    (license license:gpl2+)))
+
 (define-public emacs-xelb
   (package
     (name "emacs-xelb")
-- 
2.14.1


[-- Attachment #4: Type: text/plain, Size: 5 bytes --]


-- 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#28716: [PATCH] gnu: Add emacs-org2web and its dependents.
  2017-10-05 23:29 [bug#28716] [PATCH] gnu: Add emacs-org2web and its dependents Feng Shu
@ 2017-10-09 19:39 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2017-10-09 19:39 UTC (permalink / raw)
  To: Feng Shu; +Cc: 28716-done

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

On Fri, Oct 06, 2017 at 07:29:16AM +0800, Feng Shu wrote:
> From 1ed6dd1177be55b515d8c0fa1e0de09eddd932a5 Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Wed, 4 Oct 2017 16:58:56 +0800
> Subject: [PATCH 1/3] gnu: Add emacs-mustache.
> 
> * gnu/packages/emacs.scm (emacs-mustache): New variable.

> From edc28b8e82cabef485864bb61c3b591f7c5b8afc Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Wed, 4 Oct 2017 17:28:32 +0800
> Subject: [PATCH 2/3] gnu: Add emacs-el2org.
> 
> * gnu/packages/emacs.scm (emacs-el2org): New variable.

> From 4ff802813eecfc5489b66b22a2869c67436581dc Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Fri, 6 Oct 2017 07:22:08 +0800
> Subject: [PATCH 3/3] gnu: Add emacs-org2web.
> 
> * gnu/packages/emacs.scm (emacs-org2web): New variable.

Thanks! Pushed as f03e15ec584762a9018ffe9854353d98eacc42bb

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-09 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05 23:29 [bug#28716] [PATCH] gnu: Add emacs-org2web and its dependents Feng Shu
2017-10-09 19:39 ` bug#28716: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).