From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGP1l-0002ld-99 for guix-patches@gnu.org; Wed, 09 May 2018 09:21:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGP1i-000297-3g for guix-patches@gnu.org; Wed, 09 May 2018 09:21:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGP1i-00028F-05 for guix-patches@gnu.org; Wed, 09 May 2018 09:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fGP1h-0004Ow-MU for guix-patches@gnu.org; Wed, 09 May 2018 09:21:01 -0400 Subject: [bug#31391] [PATCH] gnu: Add emacs-dts-mode. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGP0u-0002b9-Pg for guix-patches@gnu.org; Wed, 09 May 2018 09:20:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGP0p-0000kC-Kv for guix-patches@gnu.org; Wed, 09 May 2018 09:20:12 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:37446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGP0p-0000iN-Dh for guix-patches@gnu.org; Wed, 09 May 2018 09:20:07 -0400 Received: by mail-wr0-x236.google.com with SMTP id h5-v6so11698959wrm.4 for ; Wed, 09 May 2018 06:20:07 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 9 May 2018 15:19:59 +0200 Message-Id: <1525871999-25177-1-git-send-email-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31391@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-dts-mode): New variable. --- gnu/packages/emacs.scm | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 5a3dd46..9eae9c8 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -18,7 +18,7 @@ ;;; Copyright © 2016, 2017 Alex Vong ;;; Copyright © 2016, 2017, 2018 Arun Isaac ;;; Copyright © 2017 Christopher Baines -;;; Copyright © 2017 Mathieu Othacehe +;;; Copyright © 2017, 2018 Mathieu Othacehe ;;; Copyright © 2017, 2018 Clément Lassieur ;;; Copyright © 2017 Vasile Dumitrascu ;;; Copyright © 2017, 2018 Kyle Meyer @@ -8028,3 +8028,27 @@ another window to show results (compilation mode, starting info, and so on). A dedicated window won't be used for such a purpose. For details, please read the source file.") (license license:gpl2+))) + +(define-public emacs-dts-mode + (let ((commit "9ee0854446dcc6c53d2b8d2941051768dba50344") + (revision "1")) + (package + (name "emacs-dts-mode") + (version (string-append "0.1.0-" revision "." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bgamari/dts-mode.git") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1k8lljdbc90nd29xrhdrsscxavzdq532wq2mg7ljc94krj7538b1")))) + (build-system emacs-build-system) + (home-page "https://github.com/bgamari/dts-mode.git") + (synopsis "Emacs minor mode for editing device tree files") + (description + "This package provides an Emacs minor mode for highlighting +device tree files.") + (license license:gpl3+)))) -- 2.7.4