1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-17 12:30:38 +02:00

gnu: Add emacs-flymake-clippy.

* gnu/packages/emacs-xyz.scm (emacs-flymake-clippy): New variable.

Change-Id: Ie5554007234805453f1c46c87b222cedc3199b33
This commit is contained in:
jgart 2025-06-14 23:17:13 -04:00
parent 727acbcd21
commit cf09bda7c5
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -3402,6 +3402,37 @@ provides an optional IDE-like error list.")
FictionBook2 (@file{.fb2} and @file{.fb2.zip} files) ebooks.")
(license license:gpl3+))))
(define-public emacs-flymake-clippy
(let ((commit "713b7e873d6b30dc0ded75d5d890d6847f2ea093")
(revision "0"))
(package
(name "emacs-flymake-clippy")
(version (git-version "1.1.0" revision commit))
(source
(origin
(uri (git-reference
(url "https://git.sr.ht/~mgmarlow/flymake-clippy")
(commit commit)))
(method git-fetch)
(sha256
(base32 "097yha74kabxzyf6zqdi94wxjs7zdsg38nxwz1w4w86wxlrq0ymg"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #t
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "make" "test")))))))
(synopsis "Flymake backend for Clippy")
(description "Emacs package for displaying Clippy lint diagnostics for
Rust code.")
(home-page "https://git.sr.ht/~mgmarlow/flymake-clippy")
(license license:gpl3+))))
(define-public emacs-flymake-collection
(package
(name "emacs-flymake-collection")