From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 09/10] gnu: Add emacs-yaml-mode. Date: Wed, 1 Jun 2016 10:05:37 -0400 Message-ID: <20160601140538.20311-9-dthompson2@worcester.edu> References: <20160601140538.20311-1-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b86n7-0007Qa-7Q for guix-devel@gnu.org; Wed, 01 Jun 2016 10:06:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b86n4-0004hE-IJ for guix-devel@gnu.org; Wed, 01 Jun 2016 10:06:37 -0400 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:33787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b86n4-0004h3-DU for guix-devel@gnu.org; Wed, 01 Jun 2016 10:06:34 -0400 Received: by mail-qk0-x236.google.com with SMTP id n63so15093226qkf.0 for ; Wed, 01 Jun 2016 07:06:34 -0700 (PDT) In-Reply-To: <20160601140538.20311-1-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Thompson From: David Thompson * gnu/packages/emacs.scm (emacs-yaml-mode): New variable. --- gnu/packages/emacs.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 0ea317a..bfa46c4 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1977,3 +1977,26 @@ Emacs completion function instead.") "Ido-ubiquitous enables ido-style completion for almost every function that uses the standard completion function completing-read.") (license license:gpl3+))) + +(define-public emacs-yaml-mode + (package + (name "emacs-yaml-mode") + (version "0.0.12") + (source (origin + (method url-fetch) + (uri (string-append "https://raw.githubusercontent.com/yoshiki" + "/yaml-mode/v" version "/yaml-mode.el")) + (file-name (string-append "yaml-mode-" version ".el")) + (sha256 + (base32 + "05zbb7l5j0jhn1z65lhy1f6yf77rd3rsf5ayvwm5a6dfkhr9zwnm")))) + (build-system emacs-build-system) + (home-page "https://github.com/yoshiki/yaml-mode") + (synopsis "Major mode for editing YAML files") + (description + "Yaml-mode is an Emacs major mode for editing files in the YAML data +serialization format. It was initially developed by Yoshiki Kurihara and many +features were added by Marshall Vandegrift. As YAML and Python share the fact +that indentation determines structure, this mode provides indentation and +indentation command behavior very similar to that of python-mode.") + (license license:gpl3+))) -- 2.8.3