* [bug#36750] [PATCH] gnu: Add emacs-ox-hugo.
@ 2019-07-21 18:22 Dimakakos Dimos via Guix-patches
2019-08-08 18:20 ` bug#36750: " Marius Bakke
0 siblings, 1 reply; 2+ messages in thread
From: Dimakakos Dimos via Guix-patches @ 2019-07-21 18:22 UTC (permalink / raw)
To: 36750
gnu/packages/emacs-xyz.scm (emacs-ox-hugo): New variable
---
gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a808749444..82bf0847ed 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16747,3 +16747,28 @@ connections using TLS encryption.")
"Zerodark is a dark theme inspired from One Dark and Niflheim.
An optional mode-line format can be enabled with @code{zerodark-setup-modeline-format}.")
(license license:gpl3+)))
+
+(define-public emacs-ox-hugo
+ (package
+ (name "emacs-ox-hugo")
+ (version "v0.8")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kaushalmodi/ox-hugo.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11h464cyc28ld0b0zridgm4drydc1qjxbm1y24zrwlkyqqjk6yr7"))))
+ (build-system emacs-build-system)
+ (propagated-inputs `(("emacs-org" ,emacs-org)))
+ (home-page "https://ox-hugo.scripter.co")
+ (synopsis
+ "Hugo Markdown Back-End for Org Export Engine")
+ (description
+ "Ox-hugo is an Org exporter backend that exports Org to Hugo-compatible
+Markdown, Blackfriday, and also generates the front-matter in TOML or YAML
+format.")
+ (license license:gpl3+)))
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#36750: [PATCH] gnu: Add emacs-ox-hugo.
2019-07-21 18:22 [bug#36750] [PATCH] gnu: Add emacs-ox-hugo Dimakakos Dimos via Guix-patches
@ 2019-08-08 18:20 ` Marius Bakke
0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2019-08-08 18:20 UTC (permalink / raw)
To: Dimakakos Dimos, 36750-done
[-- Attachment #1: Type: text/plain, Size: 907 bytes --]
Dimakakos Dimos via Guix-patches <guix-patches@gnu.org> writes:
> gnu/packages/emacs-xyz.scm (emacs-ox-hugo): New variable
[...]
> +(define-public emacs-ox-hugo
> + (package
> + (name "emacs-ox-hugo")
> + (version "v0.8")
I moved the "v" out of the version field and added it in the source URI
below.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/kaushalmodi/ox-hugo.git")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "11h464cyc28ld0b0zridgm4drydc1qjxbm1y24zrwlkyqqjk6yr7"))))
> + (build-system emacs-build-system)
> + (propagated-inputs `(("emacs-org" ,emacs-org)))
I also removed propagation here, because users might want to use this
with custom Org packages. Let me know if this was a mistake :-)
Applied, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-08 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-21 18:22 [bug#36750] [PATCH] gnu: Add emacs-ox-hugo Dimakakos Dimos via Guix-patches
2019-08-08 18:20 ` bug#36750: " Marius Bakke
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.