From 3f57b032ca5a91e33fde419c4af1df1806c06998 Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 23 Nov 2020 23:34:46 +0100 Subject: [PATCH] gnu: Add emacs-gn-mode. * gnu/packages/emacs-xyz.scm (emacs-gn-mode): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5f49c64bb7..1c9dd48518 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -85,6 +85,7 @@ ;;; Copyright © 2020 Adam Kandur ;;; Copyright © 2020 Tim Howes ;;; Copyright © 2020 Noah Landis +;;; Copyright © 2020 Nicolò Balzarotti ;;; ;;; This file is part of GNU Guix. ;;; @@ -10602,6 +10603,27 @@ provides functions to convert hash tables from and to alists and plists.") you to deal with multiple log levels.") (license license:gpl3+))) +(define-public emacs-gn-mode + (package + (name "emacs-gn-mode") + (version "0.4.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lashtear/gn-mode") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dz5kgzbgsssr38z2kg6m915cvfys42ag1k42bsra3la2pixywfx")))) + (build-system emacs-build-system) + (synopsis "Major-mode for editing GN (ninja generator) config files in Emacs") + (description "GN-mode is a major-mode for editing @acronym{GN,Ninja +Generator} config files in Emacs. Files of this type (e.g. @file{BUILD.gn} or +@code{*.gni}) are common in Chromium-derived projects.") + (home-page "https://github.com/lashtear/gn-mode") + (license license:bsd-3))) + (define-public emacs-gntp (package (name "emacs-gntp") -- 2.29.2