emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#36750: closed ([PATCH] gnu: Add emacs-ox-hugo.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#36750: closed ([PATCH] gnu: Add emacs-ox-hugo.)
Date: Thu, 08 Aug 2019 18:21:01 +0000

Your message dated Thu, 08 Aug 2019 20:20:49 +0200
with message-id <address@hidden>
and subject line Re: [bug#36750] [PATCH] gnu: Add emacs-ox-hugo.
has caused the debbugs.gnu.org bug report #36750,
regarding [PATCH] gnu: Add emacs-ox-hugo.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
36750: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36750
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-ox-hugo. Date: Sun, 21 Jul 2019 21:22:34 +0300
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





--- End Message ---
--- Begin Message --- Subject: Re: [bug#36750] [PATCH] gnu: Add emacs-ox-hugo. Date: Thu, 08 Aug 2019 20:20:49 +0200 User-agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu)
Dimakakos Dimos via Guix-patches <address@hidden> 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: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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