guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-synosaurus: Update to 0.2.0.


From: guix-commits
Subject: branch master updated: gnu: emacs-synosaurus: Update to 0.2.0.
Date: Wed, 17 Feb 2021 09:02:15 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e4730f2  gnu: emacs-synosaurus: Update to 0.2.0.
e4730f2 is described below

commit e4730f2d19d5d1a5f23fc6356e6930bad8ca5675
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 17 15:01:29 2021 +0100

    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.
---
 gnu/packages/emacs-xyz.scm | 68 ++++++++++++++++++++++------------------------
 1 file changed, 33 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 63b6ef0..4992690 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20109,42 +20109,40 @@ execute its commands and resize images.")
       (license license:gpl3+))))
 
 (define-public emacs-synosaurus
-  (let ((commit "8bf95b935976ec0a1964cf175ed57cc5f6f93bdb"))
-    (package
-      (name "emacs-synosaurus")
-      (version (git-version "0.1.0" "1" commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/hpdeifel/synosaurus";)
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "15by9jccab6kyplxa6k0glzaivxkqdigl33gl2qi2cvy6f2q7gva"))))
-      (build-system emacs-build-system)
-      (propagated-inputs
-       `(("wordnet" ,wordnet)))
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (add-after 'unpack 'configure
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (let ((wn (assoc-ref inputs "wordnet")))
-                 ;; .el is read-only in git.
-                 (chmod "synosaurus-wordnet.el" #o644)
-                 ;; Specify the absolute file names of the various
-                 ;; programs so that everything works out-of-the-box.
-                 (emacs-substitute-variables
-                     "synosaurus-wordnet.el"
-                   ("wordnet-command"
-                    (string-append wn "/bin/wn")))))))))
-      (home-page "https://github.com/hpdeifel/synosaurus";)
-      (synopsis "Extensible thesaurus mode for Emacs")
-      (description "Synosaurus is a thesaurus fontend for Emacs with pluggable
+  (package
+    (name "emacs-synosaurus")
+    (version "0.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hpdeifel/synosaurus";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "14dd6p89pmpf1w3nx4f9mzm4sn2b64nicws436ck7pmp223pwciv"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("wordnet" ,wordnet)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'configure
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((wn (assoc-ref inputs "wordnet")))
+               ;; .el is read-only in git.
+               (make-file-writable "synosaurus-wordnet.el")
+               ;; Specify the absolute file names of the various
+               ;; programs so that everything works out-of-the-box.
+               (emacs-substitute-variables "synosaurus-wordnet.el"
+                 ("synosaurus-wordnet--command"
+                  (string-append wn "/bin/wn")))))))))
+    (home-page "https://github.com/hpdeifel/synosaurus";)
+    (synopsis "Extensible thesaurus mode for Emacs")
+    (description "Synosaurus is a thesaurus fontend for Emacs with pluggable
 backends, including the @command{wordnet} offline backend.")
-      (license license:gpl3+))))
+    (license license:gpl3+)))
 
 (define-public emacs-editorconfig
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]