[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28716] [PATCH] gnu: Add emacs-org2web and its dependents.
From: |
Feng Shu |
Subject: |
[bug#28716] [PATCH] gnu: Add emacs-org2web and its dependents. |
Date: |
Fri, 06 Oct 2017 07:29:16 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
>From 1ed6dd1177be55b515d8c0fa1e0de09eddd932a5 Mon Sep 17 00:00:00 2001
From: Feng Shu <address@hidden>
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
>From edc28b8e82cabef485864bb61c3b591f7c5b8afc Mon Sep 17 00:00:00 2001
From: Feng Shu <address@hidden>
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
>From 4ff802813eecfc5489b66b22a2869c67436581dc Mon Sep 17 00:00:00 2001
From: Feng Shu <address@hidden>
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
--
- [bug#28716] [PATCH] gnu: Add emacs-org2web and its dependents.,
Feng Shu <=