mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: emacs-flycheck-grammalecte: Disable checks for updates.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte)[arguments]: Add a phase to disable checks for updates.
This commit is contained in:
parent
61628e42da
commit
4a42ef0015
1 changed files with 9 additions and 1 deletions
|
@ -4810,7 +4810,15 @@ (define-public emacs-flycheck-grammalecte
|
|||
"/lib/python"
|
||||
,(version-major+minor (package-version python))
|
||||
"/site-packages/grammalecte")))
|
||||
#t)))))
|
||||
#t))
|
||||
(add-after 'unpack 'do-not-phone-home
|
||||
;; The package wants to check upstream Grammalecte version to
|
||||
;; decide if an update is in order. Always return version
|
||||
;; installed so it doesn't phone home and doesn't install anything.
|
||||
(lambda _
|
||||
(substitute* "flycheck-grammalecte.el"
|
||||
(("\\(flycheck-grammalecte--grammalecte-upstream-version\\)")
|
||||
,(format #f "\"~a\"" (package-version grammalecte)))))))))
|
||||
(inputs
|
||||
`(("grammalecte" ,grammalecte)
|
||||
("python" ,python)))
|
||||
|
|
Loading…
Reference in a new issue