From e7349f201857f7666eddf173e1991f7f5b465204 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Sun, 23 Jun 2019 19:44:34 -0400 Subject: [PATCH] gnu: Add emacs-hamlet-mode * gnu/packages/emacs-xyz.scm (emacs-hamlet-mode): New variable. --- gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 688c994528..dede03ff60 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -24300,3 +24300,33 @@ a hook.") "Quack enhances Emacs support for Scheme programming. The name Quack was a play on DrScheme.") (license license:gpl2))) + +(define-public emacs-hamlet-mode + (package + (name "emacs-hamlet-mode") + (version "20131208.724") + (source + (origin + (method url-fetch) + (uri (string-append + "https://melpa.org/packages/hamlet-mode-" + version + ".el")) + (sha256 + (base32 + "1r6nxi3d6bmnxrjjsam79vsprfwlnbhpag98vb1hj05yqp13l55v")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-s" ,emacs-s))) + (home-page + "https://github.com/lightquake/hamlet-mode") + (synopsis "Hamlet editing mode") + (description + "An Emacs major mode for editing files written in Hamlet, a +Haskell compile-time HTML templating engine. Currently it only provides +syntax highlighting. + +Functions and variables with // in their name are private and may change or +go away at any time.") + (license #f)))