From 0eca97b0f6cdb28f1b8d8ceebd507e8bfed96bb3 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 6452813..6e62af5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -24251,3 +24251,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)))