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
;; Use the latest commit to get unreleased fixes to build with Emacs 28.1.
(let ((commit "8fe2ccf0b01f694a77d2528e06c10f06057784f6")
(revision "0"))
(package (package
(name "emacs-nix-mode") (name "emacs-nix-mode")
(version "1.4.5") (version (git-version "1.4.5" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/NixOS/nix-mode") (url "https://github.com/NixOS/nix-mode")
(commit (string-append "v" version)))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1bqlhkxg0faddhvxx909dq46dxdxk4mdyhdpww92dmzgxdpq38sx")))) (base32 "08kz9qp4gp55z1i87ig0ysq6pgqgwlgr765g1vp8gsh6lp3myh36"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(inputs (propagated-inputs
(list emacs-company emacs-json-mode emacs-mmm-mode)) (list emacs-company emacs-json-mode emacs-magit emacs-mmm-mode))
(home-page "https://github.com/NixOS/nix-mode") (home-page "https://github.com/NixOS/nix-mode")
(synopsis "Emacs major mode for editing Nix expressions") (synopsis "Emacs major mode for editing Nix expressions")
(description "@code{nixos-mode} provides an Emacs major mode for editing (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