GNU bug report logs - #36750
[PATCH] gnu: Add emacs-ox-hugo.

Previous Next

Package: guix-patches;

Reported by: Dimakakos Dimos <bendersteed <at> teknik.io>

Date: Sun, 21 Jul 2019 18:23:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36750 in the body.
You can then email your comments to 36750 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#36750; Package guix-patches. (Sun, 21 Jul 2019 18:23:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dimakakos Dimos <bendersteed <at> teknik.io>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 21 Jul 2019 18:23:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dimakakos Dimos <bendersteed <at> teknik.io>
To: guix-patches <at> gnu.org
Cc: Dimakakos Dimos <bendersteed <at> teknik.io>
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






Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Thu, 08 Aug 2019 18:21:01 GMT) Full text and rfc822 format available.

Notification sent to Dimakakos Dimos <bendersteed <at> teknik.io>:
bug acknowledged by developer. (Thu, 08 Aug 2019 18:21:01 GMT) Full text and rfc822 format available.

Message #10 received at 36750-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Dimakakos Dimos <bendersteed <at> teknik.io>, 36750-done <at> debbugs.gnu.org
Subject: Re: [bug#36750] [PATCH] gnu: Add emacs-ox-hugo.
Date: Thu, 08 Aug 2019 20:20:49 +0200
[Message part 1 (text/plain, inline)]
Dimakakos Dimos via Guix-patches <guix-patches <at> 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!
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Sep 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.