summary refs log tree commit diff
path: root/gnu/packages/emacs-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-26 20:41:03 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-26 20:41:03 +0200
commitd1de1ab21a9477f72632d3b217d50d889ca136bf (patch)
treea3bbfb28a722acb98e1588d658443876d84a465b /gnu/packages/emacs-xyz.scm
parent25f6b444b0eb3dc1596bfac08b366e4bc3a29d30 (diff)
downloadguix-d1de1ab21a9477f72632d3b217d50d889ca136bf.tar.gz
gnu: emacs-flx: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-flx)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r--gnu/packages/emacs-xyz.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b688bb69fe..7cebb8192d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8035,13 +8035,14 @@ files that you would find in @file{contrib/} from the git repository.")))
     (version "0.6.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/lewang/"
-                           "flx/archive/v" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/lewang/flx.git")
+              (commit (string-append "v" version))))
        (sha256
         (base32
-         "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+         "0sjybrcnb2sl33swy3q664vqrparajcl0m455gciiih2j87hwadc"))
+       (file-name (git-file-name name version))))
     (build-system emacs-build-system)
     (home-page "https://github.com/lewang/flx")
     (synopsis "Fuzzy matching for Emacs")