gnu: emacs-rust-mode: Update to 0.4.0.

* gnu/packages/emacs-xyz.scm (emacs-rust-mode): Update to 0.4.0.

Signed-off-by: Brian Leung <leungbk@mailfence.com>
This commit is contained in:
Brett Gilio 2019-03-20 17:02:04 -05:00 committed by Brian Leung
parent 3b98e71a4b
commit 2395d863de
No known key found for this signature in database
GPG Key ID: 3ADC75F013D678F9
1 changed files with 24 additions and 30 deletions

View File

@ -15066,37 +15066,31 @@ files. It focuses on highlighting the document to improve readability.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public emacs-rust-mode (define-public emacs-rust-mode
(let ((commit (package
;; Last release is old (2016), use more recent commit to get bug (name "emacs-rust-mode")
;; fixes. (version "0.4.0")
"64b4a2450e4d4c47f6307851c9b2598cd2254d68") (source (origin
(revision "0")) (method git-fetch)
(package (uri (git-reference
(name "emacs-rust-mode") (url "https://github.com/rust-lang/rust-mode")
(version (git-version "0.3.0" revision commit)) (commit version)))
(source (origin (file-name (git-file-name name version))
(method git-fetch) (sha256
(uri (base32
(git-reference "0bcrklyicxh032rrp585rl5mxd26nb61dp6r5bl935rlcmxzsczh"))))
(url "https://github.com/rust-lang/rust-mode") (build-system emacs-build-system)
(commit commit))) (arguments
(file-name (git-file-name name version)) `(#:phases
(sha256 (modify-phases %standard-phases
(base32 (replace 'check
"0pbz36lljgb7bdgx3h3g0pq1nss1kvn8mhk1l3mknsmynd6w4nd8")))) (lambda _
(build-system emacs-build-system) (invoke "sh" "run_rust_emacs_tests.sh"))))))
(arguments (home-page "https://github.com/rust-lang/rust-mode")
`(#:phases (synopsis "Major Emacs mode for editing Rust source code")
(modify-phases %standard-phases (description "This package provides a major Emacs mode for editing Rust
(replace 'check
(lambda _
(invoke "sh" "run_rust_emacs_tests.sh"))))))
(home-page "https://github.com/rust-lang/rust-mode")
(synopsis "Major Emacs mode for editing Rust source code")
(description "This package provides a major Emacs mode for editing Rust
source code.") source code.")
(license (list license:expat (license (list license:expat
license:asl2.0))))) license:asl2.0))))
(define-public emacs-ztree (define-public emacs-ztree
(let ((commit "c54425a094353ec40a8179f9eab3596f76c6cf94")) (let ((commit "c54425a094353ec40a8179f9eab3596f76c6cf94"))