mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-synosaurus: Update to 0.2.0.
* gnu/packages/emacs-xyz.scm (emacs-synosaurus): Update to 0.2.0. [arguments]: Fix configure phase. Tiny refactoring.
This commit is contained in:
parent
c3b5ac2fa0
commit
e4730f2d19
1 changed files with 33 additions and 35 deletions
|
@ -20109,42 +20109,40 @@ execute its commands and resize images.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-synosaurus
|
(define-public emacs-synosaurus
|
||||||
(let ((commit "8bf95b935976ec0a1964cf175ed57cc5f6f93bdb"))
|
(package
|
||||||
(package
|
(name "emacs-synosaurus")
|
||||||
(name "emacs-synosaurus")
|
(version "0.2.0")
|
||||||
(version (git-version "0.1.0" "1" commit))
|
(source
|
||||||
(source
|
(origin
|
||||||
(origin
|
(method git-fetch)
|
||||||
(method git-fetch)
|
(uri (git-reference
|
||||||
(uri (git-reference
|
(url "https://github.com/hpdeifel/synosaurus")
|
||||||
(url "https://github.com/hpdeifel/synosaurus")
|
(commit (string-append "v" version))))
|
||||||
(commit commit)))
|
(file-name (git-file-name name version))
|
||||||
(file-name (git-file-name name version))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32
|
"14dd6p89pmpf1w3nx4f9mzm4sn2b64nicws436ck7pmp223pwciv"))))
|
||||||
"15by9jccab6kyplxa6k0glzaivxkqdigl33gl2qi2cvy6f2q7gva"))))
|
(build-system emacs-build-system)
|
||||||
(build-system emacs-build-system)
|
(propagated-inputs
|
||||||
(propagated-inputs
|
`(("wordnet" ,wordnet)))
|
||||||
`(("wordnet" ,wordnet)))
|
(arguments
|
||||||
(arguments
|
`(#:phases
|
||||||
`(#:phases
|
(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(add-after 'unpack 'configure
|
||||||
(add-after 'unpack 'configure
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(let ((wn (assoc-ref inputs "wordnet")))
|
||||||
(let ((wn (assoc-ref inputs "wordnet")))
|
;; .el is read-only in git.
|
||||||
;; .el is read-only in git.
|
(make-file-writable "synosaurus-wordnet.el")
|
||||||
(chmod "synosaurus-wordnet.el" #o644)
|
;; Specify the absolute file names of the various
|
||||||
;; Specify the absolute file names of the various
|
;; programs so that everything works out-of-the-box.
|
||||||
;; programs so that everything works out-of-the-box.
|
(emacs-substitute-variables "synosaurus-wordnet.el"
|
||||||
(emacs-substitute-variables
|
("synosaurus-wordnet--command"
|
||||||
"synosaurus-wordnet.el"
|
(string-append wn "/bin/wn")))))))))
|
||||||
("wordnet-command"
|
(home-page "https://github.com/hpdeifel/synosaurus")
|
||||||
(string-append wn "/bin/wn")))))))))
|
(synopsis "Extensible thesaurus mode for Emacs")
|
||||||
(home-page "https://github.com/hpdeifel/synosaurus")
|
(description "Synosaurus is a thesaurus fontend for Emacs with pluggable
|
||||||
(synopsis "Extensible thesaurus mode for Emacs")
|
|
||||||
(description "Synosaurus is a thesaurus fontend for Emacs with pluggable
|
|
||||||
backends, including the @command{wordnet} offline backend.")
|
backends, including the @command{wordnet} offline backend.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-editorconfig
|
(define-public emacs-editorconfig
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue