summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-07-27 11:22:23 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-07-27 11:22:23 +0200
commit45c4bb10e4e7f1400add59dcd6d0c72be0d0ebbf (patch)
tree2e6c9f824ac1381e1cdc5f137489dcd693ded1a3 /gnu
parent2bd84c50ff7a8dafe83b6aa89cd0f01d5282c621 (diff)
downloadguix-45c4bb10e4e7f1400add59dcd6d0c72be0d0ebbf.tar.gz
gnu: emacs-company: Update to 0.9.13.
* gnu/packages/emacs-xyz.scm (emacs-company): Update to 0.9.13.
[source]: Use GNU ELPA URL.
[arguments]: Remove section.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 5 insertions, 21 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8aaa92e1b2..adfddaa6d2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4527,31 +4527,15 @@ build jobs.")
 (define-public emacs-company
   (package
     (name "emacs-company")
-    (version "0.9.12")
+    (version "0.9.13")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/company-mode/company-mode")
-             (commit version)))
-       (file-name (git-file-name name version))
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/"
+                           "company-" version ".tar"))
        (sha256
-        (base32 "0c31amc6gyfkmb1ii6mm56c75za1yxkj2iyhrjc45nn2mrh7yj7a"))))
+        (base32 "1c9x9wlzzsn7vrsm57l2l44nqx455saa6wrm853szzg09qn8dlnw"))))
     (build-system emacs-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'fix-bin-dir
-           (lambda _
-             ;; The company-files-candidates-normal-root test looks
-             ;; for the /bin directory, but the build environment has
-             ;; no /bin directory. Modify the test to look for the
-             ;; /tmp directory.
-             (substitute* "test/files-tests.el"
-               (("/bin/") "/tmp/"))
-             #t)))
-       #:tests? #t
-       #:test-command '("make" "test-batch")))
     (home-page "https://company-mode.github.io/")
     (synopsis "Modular text completion framework")
     (description