1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: emacs-jinx: Update to 2.1.

* gnu/packages/emacs-xyz.scm (emacs-jinx): Update to 2.1.
[arguments]<#:tests>: Disable.
[arguments]<#:phases>: Remove install-info, not needed.
[native-inputs]: Remove redundant inputs.

Change-Id: I98cd4dae31296b5c5805b65c35bee362d0678ee5
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Cayetano Santos 2025-04-09 11:44:03 +02:00 committed by Christopher Baines
parent 0c7ffaacd2
commit a775db2460
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -12548,7 +12548,7 @@ sgml/html integration, and indentation (working with sgml).")
(define-public emacs-jinx (define-public emacs-jinx
(package (package
(name "emacs-jinx") (name "emacs-jinx")
(version "1.12") (version "2.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -12558,10 +12558,11 @@ sgml/html integration, and indentation (working with sgml).")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1cxnxwbxfq29793r6f8pvvw2mb9mj7pa7g7z5k46abplkq65ds3g")))) (base32 "1kfxx9657zn4sy463gxwsqqh4bcdxxaf3x7jkgasl4v18mrvid1i"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
(list (list
#:tests? #f ; no tests
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'expand-load-path 'build-jinx-mod (add-after 'expand-load-path 'build-jinx-mod
@ -12579,7 +12580,6 @@ sgml/html integration, and indentation (working with sgml).")
(add-after 'build-jinx-mod 'patch-path-to-jinx-mod (add-after 'build-jinx-mod 'patch-path-to-jinx-mod
(lambda _ (lambda _
(let ((file "jinx.el")) (let ((file "jinx.el"))
(make-file-writable file)
(emacs-substitute-sexps file (emacs-substitute-sexps file
("\"Compile and load dynamic module.\"" ("\"Compile and load dynamic module.\""
`(module-load `(module-load
@ -12588,14 +12588,10 @@ sgml/html integration, and indentation (working with sgml).")
(add-after 'install 'install-jinx-mod (add-after 'install 'install-jinx-mod
(lambda _ (lambda _
(install-file "jinx-mod.so" (install-file "jinx-mod.so"
(string-append #$output "/lib/emacs")))) (string-append #$output "/lib/emacs")))))))
(add-after 'install 'install-info
(lambda _
(install-file "jinx.info"
(string-append #$output "/share/info")))))))
(inputs (list enchant)) (inputs (list enchant))
(propagated-inputs (list emacs-compat)) (propagated-inputs (list emacs-compat))
(native-inputs (list emacs-compat enchant pkg-config texinfo)) (native-inputs (list pkg-config texinfo))
(home-page "https://github.com/minad/jinx") (home-page "https://github.com/minad/jinx")
(synopsis "Emacs spell checker based on Enchant library") (synopsis "Emacs spell checker based on Enchant library")
(description "Jinx is a just-in-time spell-checker for Emacs (description "Jinx is a just-in-time spell-checker for Emacs