gnu: emacs-flycheck: Update to 32.
* gnu/packages/emacs-xyz.scm (emacs-flycheck): Update to 32.
This commit is contained in:
parent
c4b9c2e6c8
commit
b27c137cb8
1 changed files with 39 additions and 42 deletions
|
@ -1746,47 +1746,44 @@ supports type hints, definition-jumping, completion, and more.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-flycheck
|
(define-public emacs-flycheck
|
||||||
;; Last release version was more than 500 commits ago.
|
(package
|
||||||
(let ((commit "9bcf6b665e15db94870bebc81dc8248c3eec20d3")
|
(name "emacs-flycheck")
|
||||||
(revision "2"))
|
(version "32")
|
||||||
(package
|
(source
|
||||||
(name "emacs-flycheck")
|
(origin
|
||||||
(version (git-version "31" revision commit))
|
(method git-fetch)
|
||||||
(source
|
(uri (git-reference
|
||||||
(origin
|
(url "https://github.com/flycheck/flycheck/")
|
||||||
(method git-fetch)
|
(commit version)))
|
||||||
(uri (git-reference
|
(sha256
|
||||||
(url "https://github.com/flycheck/flycheck/")
|
(base32 "0dx6wqxz1yfp4shas4yn6abqc8bz21ks3glcyzznm3xspjdaq21s"))
|
||||||
(commit commit)))
|
(file-name (git-file-name name version))))
|
||||||
(sha256
|
(build-system emacs-build-system)
|
||||||
(base32 "015ixss5bjr7gvhj8mkw5x2x1hy6fvvsjarr2xpv0gskkkngs7pg"))
|
(propagated-inputs
|
||||||
(file-name (git-file-name name version))))
|
(list emacs-dash))
|
||||||
(build-system emacs-build-system)
|
(native-inputs
|
||||||
(propagated-inputs
|
(list emacs-shut-up))
|
||||||
(list emacs-dash))
|
(arguments
|
||||||
(native-inputs
|
(list
|
||||||
(list emacs-shut-up))
|
#:phases
|
||||||
(arguments
|
#~(modify-phases %standard-phases
|
||||||
(list
|
(add-after 'unpack 'change-flycheck-version
|
||||||
#:phases
|
(lambda _
|
||||||
#~(modify-phases %standard-phases
|
(substitute* "flycheck.el"
|
||||||
(add-after 'unpack 'change-flycheck-version
|
(("\\(pkg-info-version-info 'flycheck\\)")
|
||||||
(lambda _
|
(string-append "\"" #$version "\""))))))
|
||||||
(substitute* "flycheck.el"
|
;; TODO: many failing tests
|
||||||
(("\\(pkg-info-version-info 'flycheck\\)")
|
#:tests? #f
|
||||||
(string-append "\"" #$version "\""))))))
|
#:test-command
|
||||||
;; TODO: many failing tests
|
#~(list "emacs" "-Q" "--batch"
|
||||||
#:tests? #f
|
"-L" "."
|
||||||
#:test-command
|
"--load" "test/flycheck-test"
|
||||||
#~(list "emacs" "-Q" "--batch"
|
"--load" "test/run.el"
|
||||||
"-L" "."
|
"-f" "flycheck-run-tests-main")))
|
||||||
"--load" "test/flycheck-test"
|
(home-page "https://www.flycheck.org")
|
||||||
"--load" "test/run.el"
|
(synopsis "On-the-fly syntax checking")
|
||||||
"-f" "flycheck-run-tests-main")))
|
(description
|
||||||
(home-page "https://www.flycheck.org")
|
"This package provides on-the-fly syntax checking for GNU Emacs. It is a
|
||||||
(synopsis "On-the-fly syntax checking")
|
|
||||||
(description
|
|
||||||
"This package provides on-the-fly syntax checking for GNU Emacs. It is a
|
|
||||||
replacement for the older Flymake extension which is part of GNU Emacs, with
|
replacement for the older Flymake extension which is part of GNU Emacs, with
|
||||||
many improvements and additional features.
|
many improvements and additional features.
|
||||||
|
|
||||||
|
@ -1794,7 +1791,7 @@ Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
|
||||||
checking for over 30 programming and markup languages with more than 70
|
checking for over 30 programming and markup languages with more than 70
|
||||||
different tools. It highlights errors and warnings inline in the buffer, and
|
different tools. It highlights errors and warnings inline in the buffer, and
|
||||||
provides an optional IDE-like error list.")
|
provides an optional IDE-like error list.")
|
||||||
(license license:gpl3+)))) ;+GFDLv1.3+ for the manual
|
(license license:gpl3+))) ;+GFDLv1.3+ for the manual
|
||||||
|
|
||||||
(define-public emacs-flymake-flycheck
|
(define-public emacs-flymake-flycheck
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue