gnu: Add emacs-nasm-mode.

* gnu/packages/emacs-xyz.scm (emacs-nasm-mode): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Ron Nazarov via Guix-patches via 2021-07-28 16:35:48 +01:00 committed by Nicolas Goaziou
parent 7af47b876a
commit 59dd6dfb91
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -101,6 +101,7 @@
;;; Copyright © 2021 David Dashyan <mail@davie.li>
;;; Copyright © 2021 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -29055,3 +29056,26 @@ (define-public emacs-seeing-is-believing
line. This minor mode provides an easy way to run it from Emacs on the
current region or entire buffer.")
(license license:gpl3+))))
(define-public emacs-nasm-mode
(package
(name "emacs-nasm-mode")
(version "1.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/skeeto/nasm-mode")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1dyc50a1zskx9fqxl2iy2x74f3bkb2ccz908v0aj13rqfqqnns9j"))))
(build-system emacs-build-system)
(home-page "https://github.com/skeeto/nasm-mode")
(synopsis "NASM x86 assembly major mode")
(description
"NASM mode is a major mode for editing NASM x86 assembly programs.
It includes syntax highlighting, automatic indentation, and imenu integration.
Unlike Emacs' generic ASM mode, it understands NASM-specific syntax.")
(license license:unlicense)))