gnu: emacs-nix-mode: Update to 1.4.5-0.8fe2ccf.

* gnu/packages/emacs-xyz.scm (emacs-nix-mode): Update to 1.4.5-0.8fe2ccf.
[source]: Use latest commit.
[inputs]: Turn into...
[native-inputs]: ... this.  Add emacs-magit.
This commit is contained in:
Maxim Cournoyer 2022-05-17 23:03:53 -04:00
parent 0ae9e75c31
commit db916e76d6
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -24020,27 +24020,30 @@ chevron marks.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-nix-mode (define-public emacs-nix-mode
(package ;; Use the latest commit to get unreleased fixes to build with Emacs 28.1.
(name "emacs-nix-mode") (let ((commit "8fe2ccf0b01f694a77d2528e06c10f06057784f6")
(version "1.4.5") (revision "0"))
(source (package
(origin (name "emacs-nix-mode")
(method git-fetch) (version (git-version "1.4.5" revision commit))
(uri (git-reference (source
(url "https://github.com/NixOS/nix-mode") (origin
(commit (string-append "v" version)))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/NixOS/nix-mode")
(base32 "1bqlhkxg0faddhvxx909dq46dxdxk4mdyhdpww92dmzgxdpq38sx")))) (commit commit)))
(build-system emacs-build-system) (file-name (git-file-name name version))
(inputs (sha256
(list emacs-company emacs-json-mode emacs-mmm-mode)) (base32 "08kz9qp4gp55z1i87ig0ysq6pgqgwlgr765g1vp8gsh6lp3myh36"))))
(home-page "https://github.com/NixOS/nix-mode") (build-system emacs-build-system)
(synopsis "Emacs major mode for editing Nix expressions") (propagated-inputs
(description "@code{nixos-mode} provides an Emacs major mode for editing (list emacs-company emacs-json-mode emacs-magit emacs-mmm-mode))
(home-page "https://github.com/NixOS/nix-mode")
(synopsis "Emacs major mode for editing Nix expressions")
(description "@code{nixos-mode} provides an Emacs major mode for editing
Nix expressions. It supports syntax highlighting, indenting and refilling of Nix expressions. It supports syntax highlighting, indenting and refilling of
comments.") comments.")
(license license:lgpl2.1+))) (license license:lgpl2.1+))))
(define-public emacs-libmpdel (define-public emacs-libmpdel
(package (package