Subject: bug#43320: closed (Re: [bug#43320] Add emacs-html-to-hiccup package)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 22 Sep 2020 09:49:02 +0000

Your bug report

#43320: Add emacs-html-to-hiccup package

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43320: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43320
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43320] Add emacs-html-to-hiccup package
From: Nicolas Goaziou <[email-masked]>
To: Jesse Dowell <[email-masked]>
Cc: [email-masked]
Date: Tue, 22 Sep 2020 11:48:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Jesse Dowell <[email-masked]> writes:

> Subject: [PATCH] gnu: Add emacs-html-to-hiccup.

I tweaked the commit message and applied your patch. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: Add emacs-html-to-hiccup package
From: Jesse Dowell <[email-masked]>
To: [email-masked]
Date: Thu, 10 Sep 2020 16:43:18 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

I'm hoping the following patch can be useful for others. It's a package for
emacs-html-to-hiccup which can be very handy when working with clojure
programs that use hiccup syntax.

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ff043463cc..253e51a79c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24550,4 +24550,29 @@ publically-accessible HTTP server.")
 label references and citations in LaTeX.  It is based on RefTeX, which is
 included with Emacs.")
     (license license:gpl3+)))
+
+(define-public emacs-html-to-hiccup
+  (let ((commit "50a52e2b0d13d865187acdf775b8203d5003f2f1")
+        (revision "0"))
+    (package
+      (name "emacs-html-to-hiccup")
+      (version (git-version "20190909" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/plexus/html-to-hiccup")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
"1qi092mw2n08v6yr0j6hlpx0pnlcnhxjqbsrlw9pn4yin6zk91yp"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+     `(("dash" ,emacs-dash)
+       ("s" ,emacs-s)))
+      (home-page "https://github.com/plexus/html-to-hiccup")
+      (synopsis "Emacs package that turns HTML into Hiccup syntax")
+      (description
+       "Emacs package that turns HTML into Hiccup syntax, a notation
popular
+when doing Clojure/ClojureScript web development.")
+      (license license:mpl2.0))))
--8<---------------cut here---------------end--------------->8---

Best,
Jesse